Explanation

The #NUM!

error occurs in Excel formulas when a calculation can’t be performed.

The examples below show formulas that return the #NUM error.

#NUM! error example - impossible calculation

In general, the fixing the #NUM!

error is a matter of adjusting inputs as required to make a calculation possible again.

error also can appear when a calculation can’t be performed.

#NUM! error example - impossible calculation

For example, the screen below shows how to use theSQRT functionto calculate the square root of a number.

Example #3 - incorrect function argument

Sometimes you’ll see the #NUM!

error if you supply an invalid input to afunction argument.

#NUM! error example - impossible calculation

For example, theDATEDIF functionreturns the difference between two dates in various units.

However, if start date isgreater than end date, DATEDIF returns the #NUM error.

In D5, the formula returns #NUM.

#NUM! error example - impossible calculation

Notice this is a bit different from the#VALUE!

error, which typically happens when an input value is not the right throw in.

To fix the error shown above, just reverse the dates on row 5.

#NUM! error example - impossible calculation

For performance reasons, Excel limits the number of iterations allowed.

If no result is found before this limit is reached, the formula returns #NUM error.

Iteration behavior can be adjusted at Options > Formulas > Calculation options.

#NUM! error example - impossible calculation - FIXED

error

How to fix the #REF!

error

How to fix the #NAME?

error

How to fix the #VALUE!

#NUM! error example - wrong function argument

error

How to fix the #NUM!

error

How to fix the #NULL!

error

How to fix the #CALC!

Excel formula: How to fix the #N/A error

IFERROR is an elegant way to trap and manage errors without using more complicated nested IF statements.

you’re free to use ERROR.key in to test for specific kinds of errors.

If no error exists, ERROR.throw in returns #N/A.

Excel formula: How to fix the #DIV/0! error

See below for a key to the error codes returned by ERROR.key in.

Excel formula error codes

How to trace a formula error

Excel formula: How to fix the #REF! error

Excel formula: How to fix the #NAME? error

Excel formula: How to fix the #VALUE! error

Excel formula: How to fix the #NUM! error

Excel formula: How to fix the #NULL! error

Excel formula: How to fix the #### (hashtag) error

Excel formula: How to fix the #SPILL! error

Excel formula: How to fix the #CALC! error

Excel IFERROR function

Excel ISERROR function

Excel ERROR.TYPE function

Article image

Article image

#NUM! error example - impossible calculation

#NUM! error example - impossible calculation - FIXED