Statistical functions

MINA

Matches all 1,227 recorded answers

Recorded: 1,212 in the answer bank and 15 workbook cells. How we measure this · See the Rust code

Local names in 40 languages
LanguageName in Excel
ArabicMINA
BulgarianMINA
CzechMINA
DanishMINV
GermanMINA
GreekMINA
English (Australia)MINA
English (United Kingdom)MINA
English (United States)MINA
SpanishMINA
EstonianMINA
FinnishMINA
FrenchMINA
HebrewMINA
CroatianMINA
HungarianMIN2
IndonesianMINA
ItalianMINA
JapaneseMINA
KoreanMINA
LithuanianMINA
LatvianMINA
NorwegianMINA
DutchMINA
PolishMIN.A
Portuguese (Brazil)MINA
Portuguese (Portugal)MÍNIMOA
RomanianMINA
RussianМИНА
SlovakMINA
SlovenianMINA
Serbian (Latin)MINA
SwedishMINA
ThaiMINA
TurkishMİNA işlevi
UkrainianMINA
VietnameseMINA
Chinese (Simplified)MINA
Chinese (Hong Kong)MINA
Chinese (Traditional)MINA

Names from Microsoft's support site.

What it does

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

MINA(value1, [value2], …) returns the smallest value in a set, where logical values and text are converted to numbers rather than skipped.

  • "Arguments can be the following: numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference."
  • "Arguments that contain TRUE evaluate as 1; arguments that contain text or FALSE evaluate as 0 (zero)."
  • "If an argument is an array or reference, only values in that array or reference are used. Empty cells and text values in the array or reference are ignored."
  • "If the arguments contain no values, MINA returns 0."
  • "Arguments that are error values or text that cannot be translated into numbers cause errors."

The consequence that dominates this function. Because text and FALSE convert to 0 rather than being skipped, MINA can never exceed 0 once any text or FALSE is present. And because most spreadsheet data is positive — prices, quantities, durations, distances, counts — that is not an edge case, it is the ordinary case. A column of positive measurements with one "n/a" typed into it has MINA equal to 0, and the 0 appears nowhere in the data.

MINA is therefore not a selector in the sense MIN is: its result need not be one of its inputs. It is the mirror of MAXA's zero clamp, and it is the worse of the two, because the direction of the clamp points into the region where real data lives.

Arguments

ArgumentMeaningNotes
value1The first value"Value1 is required"
value2, …Further valuesOptional; "1 to 255 values"

Argument boundaries carry no meaning; all slots pool into one reduction.

Try it

Input cells (optional)

Example: {"B2": 3, "B3": 4}. A1 holds the formula. Other cells need values before a formula can read them.

Enter a formula, then calculate.

Runs locally in your browser with OneCalc. Its answer may differ from Excel. Use English function names and commas between arguments.

Quirks

The coercion table, and a contradiction in it

ValueTyped directly into the argument listReached inside an array or reference
Numbercountedcounted
TRUEcounted as 1counted as 1
FALSEcounted as 0counted as 0
Text that reads as a numbercounted as its numeric valuesee below
Text that does not read as a numbererrorsee below
Empty cell—ignored
Error valueerrorerror

The two "see below" cells are a documented contradiction, and the Handbook publishes it as a finding rather than choosing a side. Microsoft's MINA page asserts both of the following about text inside a reference:

  1. "Arguments that contain text or FALSE evaluate as 0 (zero)."
  2. "Empty cells and text values in the array or reference are ignored."

These cannot both hold. If text evaluates as 0 it is counted and drags the minimum down to zero on all-positive data; if it is ignored, the minimum of an all-positive column stays positive. The two readings differ on exactly the case that distinguishes MINA from MIN, and they can differ by the entire magnitude of the data.

The same contradiction appears verbatim on the MAXA page, which is evidence that it is a family-wide editorial defect in the documentation rather than a per-function slip.

What can be said without observing Excel:

  • Rule 1 is the one that gives MINA a reason to exist as a separate function. Under rule 2 applied to text, MINA and MIN would differ only on logicals in references.
  • Microsoft's own MIN page points at MINA as the way to "include logical values and text representations of numbers in a reference as part of the calculation", which is consistent with rule 1.
  • Nothing in the Handbook's record settles it. The probe is one cell wide and is first on the list below.

Result and edge cases

Returns Number. The result need not be one of the inputs, because text and FALSE are converted rather than selected.

  • An all-text column. Under rule 1 the answer is 0; under rule 2 it is the no-values case, also 0. The two readings coincide here, so this input does not discriminate between them. The discriminating input is an all-positive numeric column with one text cell.
  • TRUE in a reference counts as 1, which is the family's undisputed purpose and the cleanest observable difference from MIN. On data all greater than 1, a stray TRUE becomes the minimum.
  • Arrays are consumed by scanning, not lifted elementwise.

Errors

ErrorConditionBasis
#VALUE!A directly-passed argument is text that cannot be translated into a numberDocumented on Microsoft's MINA page
propagatedAn argument is an error valueDocumented ("arguments that are error values … cause errors")

No documented #NUM!, #DIV/0! or empty-input error; the documented empty-input answer is 0.

How to implement

Numerical notes

No floating-point arithmetic beyond the conversions, so no rounding error to analyse. Three observations are worth recording.

The zero clamp is directional, and its direction is the bad one. MAXA's clamp only bites on all-negative data; MINA's bites on all-positive data, which is the common shape. Combined with the no-values rule, MINA reaches 0 by two independent routes, so a hierarchical MINA-of-MINAs over positive data reports 0 if any column is empty or contains any text. An implementer must track "have I seen an admissible value" as a flag separate from the running best and must not initialise the accumulator to 0.

Rust code

Show the CalcFunc source of this function

Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.

MINA · 1 lines · calc-func/src/catalogue/aggregate.rs on GitHub
aggregate(MINA, "MINA", VALUES, mina)
mina · 7 lines · calc-func/src/catalogue/aggregate.rs on GitHub
/// MINA: MIN, with held text read as 0 and held logicals as 1 and 0.
fn mina(
    arguments: &[CalcValue],
    services: &mut EvalServices<'_>,
) -> Result<CalcValue, FunctionFault> {
    extreme(MINA, Held::Values, |n, best| n < best, arguments, services)
}

Kernels shared with other functions

Argument and result plumbing

No implementation has been published with a Handbook test suite for this function.

Version differences

The recorded environments below distinguish a reading from a same-input comparison. Counts describe captured inputs in each environment; overlapping captures and comparisons are not totals of unique worksheet calls.

Excel 16.0 buildPlatform and CPUCaptured inputs
20430Windows, 64-bit, CPU not recorded1,212

The record contains no same-input comparison between these environments. Reading different inputs on different builds does not establish either a version change or cross-build agreement.

Recorded environments and comparison details.

Excel 16.0 build 20430

Windows, 64-bit, CPU not recorded

1,212 captured inputs are indexed for this environment. Capture dates: 2026-09-29 to 2026-09-29. This is a reading count, not a comparison with another build.

Alternatives

Relationships

  • MIN — the numbers-only sibling, whose own documentation names MINA as the remedy for wanting logicals and numeric text counted, and whose page carries the same empty-set divergence finding. MINA's page returns the favour: "To exclude logical values and text representations from calculations, use the MIN function instead."
  • MAXA — the mirror, carrying the identical documented contradiction. The two pages together are the evidence that the defect is editorial and family-wide.
  • The rest of the A suffix family: AVERAGEA, COUNTA, STDEVA, STDEVPA, VARA, VARPA. Shared intent, not one shared rule. COUNTA in particular counts non-empty values without converting them. Read each page.
  • SMALL — the order-statistic selector, numbers only, and the surface to reach for when "no data" must not silently become 0.
  • Confused with: MIN. A workbook switched from MIN to MINA to "handle the text cells" has changed the answer to 0 on every positive column containing text.

Named variants

No named variants are recorded yet.

Suggest a correction or contribute an implementation · For agents