How to correct a #NUM! error (2024)

Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel for iPad Excel Web App Excel for iPhone Excel for Android tablets Excel 2010 Excel 2007 Excel for Mac 2011 Excel for Android phones Excel for Windows Phone 10 Excel Mobile Excel Starter 2010 More...Less

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. SelectFile > Options. If you are using Excel 2007, select Microsoft Office Button How to correct a #NUM! error (1) > Excel Options.

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

      How to correct a #NUM! error (2)
    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*10307 and 1*10307.

    Tip:If error checking is turned on in Excel, you can click How to correct a #NUM! error (3) next to cell that shows the error. Click 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 Communityor get support inCommunities.

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?

Discover Community

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.

How to correct a #NUM! error (2024)

FAQs

How can you correct the #null error? ›

If you get this error because you've used a space character between ranges that don't intersect, change the references so that ranges do intersect. For example, in the formula =CELL(“address”,(A1:A5 C1:C3)), the ranges A1:A5 and C1:C3 don't intersect, and the formula returns the #NULL! error.

What does num error mean? ›

The #NUM! error occurs when your formula contains invalid numeric values. For example, if you're calculating a problem with money, don't include the dollar sign before the number, as it presents an invalid value within the Excel calculation. It can also occur when attempting to perform an impossible calculation.

How do you fix error in value? ›

Replace the #VALUE!

error with something else like your own text, a zero or a blank cell. In this case you can add the IFERROR function to your formula. IFERROR checks to see if there's an error, and if so, replaces it with another value of your choice. If there isn't an error, your original formula is calculated.

How do I fix a number stored as text error? ›

In this case, you can apply number formatting.
  1. Select the cells that contain the numbers that are stored as text. How to select cells, ranges, rows, or columns. ...
  2. On the Home tab, in the Number group, click the Dialog Box Launcher next to Number.
  3. In the Category box, click the number format that you want to use.

How do I convert text to number error? ›

Convert to number in Excel with error checking

If your cells display an error indicator (green triangle in the top left corner), converting text strings to numbers is a two-click thing: Select all the cells containing numbers formatted as text. Click the warning sign and select Convert to Number.

When would the num error occur? ›

This error typically occurs when a function contains incorrect arguments, or when the supplied numbers or dates are not valid numeric values, or when a calculation exceeds the limit of what Excel can handle. The #NUM error can be resolved in a number of different ways depending on the underlying cause.

What causes null error? ›

This error is shown when you use an incorrect range operator in a formula, or when you use an intersection operator (space character) between range references to specify an intersection of two ranges that don't intersect.

Does null mean error? ›

A null value means that there is actually no value in this variable. It's not even a zero. String is the major case for this exception because other variables sometimes get a zero value, and hide this error.

What is num error on rate? ›

RATE is calculated by iteration and can have zero or more solutions. If the successive results of RATE do not converge to within 0.0000001 after 20 iterations, RATE returns the #NUM! error value.

How do I replace #num with 0 in Excel? ›

errors with 0:
  1. Select the cell or range of cells that contains the #VALUE! errors you want to replace with 0.
  2. Press Ctrl+H to open the Find and Replace dialog box.
  3. In the "Find what" field, type "#VALUE!" ( ...
  4. In the "Replace with" field, type "0" (without the quotes).
  5. Click "Replace All" to replace all #VALUE!
Jun 14, 2020

What is the num error in large function? ›

Notes about the Excel LARGE Function

#NUM error – Occurs when: The array provided is empty. When the value of the k argument is less than 1 or greater than the number of values in the given array.

How do you handle error in a function? ›

Recursively Call Function in Error Handling Blocks
  1. Execute operations that you want to retry in a try statement and have the Function call itself in a catch statement.
  2. To prevent indefinite execution, set a maximum number of retries.

What is an example of a value error? ›

In this example, we define a variable 'myVar' to have the value 5. We then try to remove this value from a list that doesn't contain that value. Because 5 is not in the list, we cannot remove it, and Python returns a value error.

What is the #null error in Excel? ›

What is #NULL error in Excel? The Excel #NULL error value is shown whenever the user commits a typing error, such as incorrectly typing the range name or referring to a range name already deleted or failing to put quotation marks for a string data in a formula.

What is error in number representation? ›

Representation error occurs when we try to represent a number using a finite number of bits or digits which cannot be accurately represented in the system chosen. For example, in our familiar decimal system: number. decimal representation.

How do you add numbers with error? ›

When you add or subtract two numbers with errors, you just add the errors (you add the errors regardless of whether the numbers are being added or subtracted). So for our room measurement case, we need to add the ' 0.01 m' and ' 0.005 m' errors together, to get ' 0.015 m' as our final error.

How do I remove error numbers in Excel? ›

Select the range of cells from which you want to remove error values. Press the "F5" key on your keyboard to open the "Go To" dialog box. Click the "Special..." button to open the "Go To Special" dialog box. In the "Go To Special" dialog box, select the "Formulas" option and then select the "Errors" option.

Top Articles
Latest Posts
Article information

Author: Patricia Veum II

Last Updated:

Views: 6017

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Patricia Veum II

Birthday: 1994-12-16

Address: 2064 Little Summit, Goldieton, MS 97651-0862

Phone: +6873952696715

Job: Principal Officer

Hobby: Rafting, Cabaret, Candle making, Jigsaw puzzles, Inline skating, Magic, Graffiti

Introduction: My name is Patricia Veum II, I am a vast, combative, smiling, famous, inexpensive, zealous, sparkling person who loves writing and wants to share my knowledge and understanding with you.