# MAXA Function

> Return the largest value with MAXA in TX Sheet Control, which counts TRUE as 1 and FALSE and text in references as 0, unlike MAX, with an example formula.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > MAXA Function
- **186 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/maxa/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/maxa/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/maxa/llms-full.txt

---

Return the largest value, counting logical values and text. Unlike [MAX](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/max/llms-full.txt), MAXA evaluates TRUE as 1, and FALSE and text in references as 0. Empty cells are ignored, and arguments without values return 0.

### Syntax

```text
MAXA(value1, value2)
```

Category: Statistics. Minimum arguments: 1. Maximum arguments: 255.

Available for supported offline calculation.

### Examples

```text
=MAXA(1,TRUE,3)
```

The formula returns 3, the largest of 1, TRUE (1) and 3.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [MAX Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/max/llms-full.txt)
- **Next:** [MAXIFS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/maxifs/llms-full.txt)
