Applies ToExcel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016 Excel for iPad Excel Web App Excel for iPhone Excel for Android tablets Excel for Android phones Excel for Windows Phone 10 Excel Mobile

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:

  • A formula uses a function that iterates, such as IRR or RATE, and it can’t find a result.

    To fix this, change the number of times Excel iterates formulas:

    1. Select File > Options.

    2. On the Formulas tab, under Calculation options, check the Enable iterative calculation box.

      Screen shot of the Iterative Calculation settings
    3. 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.

    4. 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*10307and 1*10307.

    If error checking is turned on in Excel, you can select  Button Image next to cell that shows the error. Select Show Calculation Steps if it’s available, and pick the resolution that works for your data.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

See Also

Overview of formulas in Excel

How to avoid broken formulas

Detect errors in formulas

Excel functions (alphabetical)

Excel functions (by category)

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.