Numeric text is silently converted
Reference-based COUNT and AVERAGE ignore stored text. AVERAGEA includes referenced text as zero rather than converting its spelling into a number.
Step-by-step guide · read-only ·
Loading your interactive spreadsheet…
Preparing the worksheet and formulas…
Enter B13 as a real IF controlled by Boolean H2: TRUE returns empty text and FALSE returns Recorded. Keep B2:B12 as eleven editable stored observations. Fill F2:F13 separately. F2/F3 are numeric count/sum. F4 averages numeric observations including zeroes; F5 checks the same sum/count. F6 excludes numeric zeroes and F7 averages only numeric observations strictly above numeric H3. F8 uses AVERAGEA: every referenced text contributes zero, TRUE contributes one and FALSE zero, while true blanks are ignored. F9 exposes its nonempty denominator. F10/F11 count the actual nonzero/qualifying numeric populations. F12 compares numeric means within 1e-9; F13 independently reconciles the threshold mean. Empty numeric populations return No numbers, No nonzero numbers or No qualifying numbers as specified. Source numbers and the threshold are finite within ±1,000,000; editable text is nonempty text up to 40 Unicode characters, including spaces and numeric/error-looking text. Empty text is produced by the real B13 formula; use Blank for an actual empty source cell. Typed formula errors are outside this error-free comparison. These are reference-range rules, not direct-argument coercion rules.
Follow the highlighted cells. Switch to Your turn to edit. Answer cells: B13, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13. Browser calculations may differ from your Excel version.
| Cell | Current value | Applied formula |
|---|---|---|
| B13 | — | No formula |
| F2 | — | No formula |
| F3 | — | No formula |
| F4 | — | No formula |
| F5 | — | No formula |
| F6 | — | No formula |
| F7 | — | No formula |
| F8 | — | No formula |
| F9 | — | No formula |
| F10 | — | No formula |
| F11 | — | No formula |
| F12 | — | No formula |
| F13 | — | No formula |
Edit eleven actual observations as Number, Text, Boolean or Blank. Nonempty text up to 40 characters retains numeric-looking spelling and whitespace. H2 is a Boolean controlling the real B13 empty-text formula; the mean task also has numeric threshold H3. Numbers stay within ±1,000,000. Typed formula errors have a separate lesson.
This draft matches the current cell.
Practice stays on this device. No worksheet data is uploaded.
Keep numeric zeroes, excluded text and explicit mean denominators visible before choosing an averaging rule.
Keep numeric zeroes, excluded text and explicit mean denominators visible before choosing an averaging rule.
=IF(H2,"","Recorded")=COUNT($B$2:$B$13)=SUM($B$2:$B$13)=IF(F2=0,"No numbers",AVERAGE($B$2:$B$13))=IF(F2=0,"No numbers",F3/F2)=IFERROR(AVERAGEIF($B$2:$B$13,"<>0"),"No nonzero numbers")=IFERROR(AVERAGEIF($B$2:$B$13,">"&H3),"No qualifying numbers")=AVERAGEA($B$2:$B$13)=COUNTA($B$2:$B$13)=SUMPRODUCT(--ISNUMBER($B$2:$B$13),--(IF(ISNUMBER($B$2:$B$13),$B$2:$B$13,0)<>0))=SUMPRODUCT(--ISNUMBER($B$2:$B$13),--(IF(ISNUMBER($B$2:$B$13),$B$2:$B$13,0)>H3))=IF(F2=0,"No numbers",ABS(F4-F5)<1E-9)=IF(F11=0,"No qualifying numbers",SUMPRODUCT(IF(ISNUMBER($B$2:$B$13),$B$2:$B$13,0),--(IF(ISNUMBER($B$2:$B$13),$B$2:$B$13,0)>H3))/F11)Enter each formula in its labeled answer cell. These report formulas perform different jobs; do not fill the first formula down.
A numeric-looking identifier remains text. This report uses actual stored numbers, text, logical values and true blanks; neither formatting nor an empty display changes a stored type.
B13 has a real formula even when it displays nothing. COUNTA includes that cell and COUNTBLANK includes its empty result. ISBLANK remains false. The eleven editable slots can be genuinely cleared.
The physical slot count, numeric count, nonempty count and blank-like count answer different questions. Likewise a numeric mean including zero, nonzero mean, strict-threshold mean and AVERAGEA policy need not agree.
Every report is checked against current source types, eight original populations and independent type/control/threshold changes. The current workbook downloads preserve typed source values, the B13 formula and complete live results.
Numeric-looking text is not converted. B13 is an actual formula, so an empty result remains a text observation for AVERAGEA rather than a true empty cell.
COUNT defines the numeric denominator. AVERAGE and the separate SUM/COUNT must agree; a numeric zero is measured data and stays included.
The nonzero mean is a different question. Text 0 and FALSE remain excluded as nonnumeric references. A population containing only numeric zeroes has no nonzero mean.
Only numeric observations greater than H3 qualify. Equal values are excluded, including when H3 is negative. Inspect the count and independent arithmetic result alongside AVERAGEIF.
AVERAGEA uses a different denominator and numerator: referenced text, including numeric text and empty text, contributes zero; logical TRUE contributes one. True blanks are excluded. This is a policy, not an automatic data-cleaning step.
Switch a number to text, clear a source cell or toggle H2. Compare every denominator and both independent mean checks; a previous passing result must not survive changed data.
Reference-based COUNT and AVERAGE ignore stored text. AVERAGEA includes referenced text as zero rather than converting its spelling into a number.
Inspect the actual formula in B13. Its empty text is counted by both COUNTA and COUNTBLANK, but not by ISBLANK.
Numeric zero belongs in an ordinary numeric mean; a nonzero policy must be explicit.
These heterogeneous report rows answer different questions and require separate formulas.
Original bounded error-free reference population tasks. Browser/module/package checks do not certify native Excel/Sheets recalculation, rendering or edit/save.
Content version 1. Practice checks compare calculated results across different datasets; they do not certify every possible formula.