Excel shows this error when a formula or function contains numeric values that aren’t valid.
This often happens when you’ve entered a numeric value using a data type or a number format that’s not supported in the argument section of the formula. For example, you can’t enter a value like $1,000 in currency format, because dollar signs are used as absolute reference indicators and commas as argument separators in formulas. To avoid the #NUM! error, enter values as unformatted numbers, like 1000, instead.
Excel might also show the #NUM! error when:
To fix this, change the number of times Excel iterates formulas:
Select File > Options. If you are using Excel 2007, select Microsoft Office Button > Excel Options.
On the Formulas tab, under Calculation options, check the Enable iterative calculation box.
In the Maximum Iterations box, type the number of times you want Excel to recalculate. The higher the number of iterations, the more time Excel needs to calculate a worksheet.
In the Maximum Change box, type the amount of change you’ll accept between calculation results. The smaller the number, the more accurate the result and the more time Excel needs to calculate a worksheet.
A formula results in a number that’s too large or too small to be shown in Excel.
To fix this, change the formula so that its result is between -1*10307 and 1*10307.
Tip: If error checking is turned on in Excel, you can click next to cell that shows the error. Click Show Calculation Steps if it’s available, and pick the resolution that works for your data.
Do you have a specific function question?
Help us improve Excel
Do you have suggestions about how we can improve the next version of Excel? If so, please check out the topics at Excel User Voice