#NUM! Error in Excel and Google Sheets: Causes and Fixes
#NUM! means a function cannot produce a valid number. Tested: reversed DATEDIF, SQRT(-1), LOG(0), POWER overflow, backwards RANDBETWEEN, bad YEARFRAC basis.
7 tutorials tagged “formulas”.
#NUM! means a function cannot produce a valid number. Tested: reversed DATEDIF, SQRT(-1), LOG(0), POWER overflow, backwards RANDBETWEEN, bad YEARFRAC basis.
#DIV/0! appears when a formula divides by zero, a blank, or a text zero. Test 1/0, 0/0, MOD, and when IF is safer than IFERROR.
#NAME? means the spreadsheet does not recognize a function or name. Check a typo, unquoted text, a missing named range, or a function that does not exist here.
Format a cell or an entire row from the value in a different cell, including a threshold in $F$1, a text match, and a date comparison. Includes tested formulas and the Google Sheets steps.
Fix an Excel or Google Sheets conditional formatting formula that does not highlight anything, highlights the wrong rows, or is rejected. Check the applied range, relative references, and the leading equals sign.
Apply conditional formatting in Excel with a formula, highlight an entire row, and use color scales. Includes tested rules such as =$B2>=1000 and a Google Sheets menu equivalent.
Use a custom formula in Excel or Google Sheets data validation to allow only numbers in a range, block duplicates, or require a value from a list, with tested TRUE/FALSE checks.