MAXA Function

Excel Functions › Statistical

All versions Statistical

The Excel MAXA function returns the largest value in a list, but unlike MAX it counts logical values and text — TRUE is treated as 1, FALSE and text as 0 — so empty cells are still ignored but other entries are not.


Quick answer:
=MAXA({0.5,TRUE}) TRUE counts as 1, so the max = 1

Syntax

=MAXA(value1, [value2], ...)
ArgumentDescription
value1RequiredThe first value, cell reference, or range to evaluate.
value2, ...OptionalUp to 254 additional values or ranges. Logical TRUE counts as 1; FALSE and text count as 0; empty cells are ignored.

How to use it

MAXA works like MAX but changes how non-numbers are treated. The key differences:

Entry typeMAXMAXA
TRUEignoredcounts as 1
FALSEignoredcounts as 0
Text (incl. "")ignoredcounts as 0
Empty cellignoredignored
=MAXA({0.5,TRUE}) // TRUE = 1, so max = 1
=MAXA({-1,-2,FALSE}) // FALSE counts as 0, so max = 0

That last example is the gotcha: because text and FALSE count as 0, a range of all-negative numbers mixed with text returns 0 from MAXA but the true negative maximum from MAX.

When to use MAX instead: if your data may contain text or FALSE that should be skipped (not treated as 0), use MAX — MAXA can mask the real maximum of negative numbers.

Try it: interactive demo

Live demo

Pick a MAXA example to see the formula and its result.

Result:

Practice workbook

📊
Download the free MAXA practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

What is the difference between MAX and MAXA?
MAX ignores text and logical values in a range; MAXA counts them — TRUE as 1, and FALSE and text as 0. Both ignore truly empty cells.
Does MAXA count TRUE and FALSE?
Yes — TRUE is evaluated as 1 and FALSE as 0. This is the main reason to choose MAXA over MAX.
Why does MAXA return 0 for my negative numbers?
Because the range also contains text or FALSE, which MAXA counts as 0 — and 0 is larger than every negative number. Use MAX if those entries should be ignored instead.
Does MAXA count empty cells as zero?
No — genuinely empty cells are ignored by both MAX and MAXA. Only text and logical values are converted to 0 by MAXA.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: MAX · MINA · MIN · MAXIFS · LARGE