Excel function

MINAfunction

Returns the smallest value, counting text as 0.

All versions
=MINA(B2:D6)
A
B
C
D
1
2
3
4
5
6

Drag the corner dots to change range. With an "Absent" cell in the range, the smallest value becomes 0. Compare with MIN. Try breaking it on purpose to see the errors.

Result

0

range
B2:D6Drag the corner dots on the table

The cells to calculate. Text counts as 0; blank cells are ignored.

What is the MINA function?

=MINA(value1, [value2], ...)

MINA returns the smallest value, counting text as 0. If the range contains text such as "Absent", the result is 0, very different from MIN.

The sheet B2:D6 holds 11 scores, 2 "Absent" cells and 2 blank cells.

Use MINA when your rule says a missing test or an absence counts as zero and you want the lowest score on that basis. Putting MIN and MINA side by side also shows at a glance whether any text has slipped into a range of numbers. TRUE counts as 1 and FALSE as 0.

Arguments

value1, ...
Values, cells or ranges. Text in a range counts as 0, TRUE as 1.

MINA examples

  1. Example 1. With absences

    =MINA(B2:D6)

    "Absent" counts as 0, so the result is 0.

  2. Example 2. Compared with MIN

    =MIN(B2:D6)

    MIN ignores text: 76.

  3. Example 3. MIN versus MINA

    =MINA(A2:A5)

    The result depends on what the range holds. Both ignore blank cells.

    Range holds=MIN=MINA
    76, 84, 907676
    76, 84, Absent760
    -3, 5, Absent-3-3
    TRUE, 551
  4. Example 4. Check for text in a range

    =IF(MINA(B2:D6)<>MIN(B2:D6), "Has text", "")

    In a range of positive scores, a different result means some cells hold text.

Common mistakes

FAQ

Lowest score ignoring absences?
Use MIN.
TRUE?
Counts as 1.
Minimum with a condition?
Use MINIFS. It does not treat text as 0.
Is there an average with the same rule?
Yes, AVERAGEA counts text as 0.