Quick Links
Encountering errors in Excel is common, but they don’t have to disrupt your workflow or waste time. By familiarizing yourself with common Excel errors and their solutions, you can quickly identify and resolve issues, ensuring a smooth workflow. Below are eight of the most frequent errors and how to resolve them.
Excel’s#DIV/0!error commonly appears when your formula tries to divide a number by zero or an empty cell, which is mathematically undefined. For example, if you attempt=A1/B1whereB1is0or blank, Excel will return the#DIV/0!error. Similarly, using functions like=AVERAGE(A1:A3)on a range with no data can also trigger this error.

Fixing the#DIV/0!error is fairly straightforward. All you need to do is check the value of the denominator in your formula and ensure that it is not zero or empty.
The#N/Aerror signifies that a value is unavailable for a formula’s use, indicating that Excel is unable to find the required information.This error frequently occurs when using lookup functions in Excel, such as VLOOKUP, HLOOKUP, MATCH, and XLOOKUP, when the target value is missing from the search range.

For instance, if you enter the above formula but “Orange” isn’t listed in the first column of the specified range, the result will be#N/A.
To resolve the#N/Aerror, ensure that the lookup value exists in the specified range, and check for potential issues like spelling mistakes or extra spaces. When searching for numbers, verify that both the lookup value and the data range are formatted consistently as either numbers or text to avoid mismatches.

If your formula contains unrecognized text—whether due to a typo or an undefined function name—Excel will display the#NAME?error. For instance, typing=SUMA(A1:A10)instead of=SUM(A1:A10)can trigger this error.
Referencing anamed range in Excelthat hasn’t been defined, or forgetting to enclose the text in your formula within quotes (e.g.,=IF(A1=“Yes”,1,0)), can also trigger the#NAME?error.

You can easily fix the#NAME?error by double-checking the formula for typos, ensuring that all text values are enclosed in quotation marks, and verifying that any named ranges are properly defined and spelled. Additionally, you can go toFormulas > Insert Functionto guide you through each step of the formula, ensuring correct data entry.
The#VALUE!error in Excel occurs when a formula contains invalid data types or unexpected values. It typically arises when a function expects numbers but encounters text, empty cells, or other incompatible data types.

For instance, this error can occur if you inadvertently attempt to multiply a number by a text string or use functions like SUM, PRODUCT, or AVERAGE when encountering non-numeric values. Consider the formula=A1+B1, where A1 contains the text “Apple” and B1 contains the number 5. Excel cannot add a number to text, resulting in the#VALUE!error.
To avoid the#VALUE!error, make sure that your formula references valid data types. Additionally, check for blank cells, verify that all linked cells contain formulas, and remove any special characters that might cause issues.
When a formula references two ranges that don’t overlap, Excel shows the#NULL!error. This error often occurs due to using incorrect range operators, especially when a space—indicating an intersection—is mistakenly used instead of a comma or colon.
For example, if you enter the following formula, Excel will return a#NULL!error because the two ranges,A1:A5andB1:B5, don’t intersect.
To fix this, replace the space with the correct operator. For summing the values from two ranges, use a comma to separate them, like this:
Additionally, ensure colons are used correctly within a range reference, such as=A1:B1, to prevent Excel from misinterpreting the range and generating the#NULL!error.
Excel’s#REF!error indicates that your formula is trying to reference a cell that is no longer valid. This can happen if the cell is deleted or if the formula’s reference is broken. You could encounter this error with any formula that involves cell references.
For example, if you have the formula=B6/10, and you delete row 6 or column B, the formula will return#REF!because the reference toB6is lost. Similarly, copying formulas to a new location where references are broken or not aligned can also trigger the#REF!error.
You can fix the#REF!error by identifying the formula causing the error and manually updating the broken reference. If the error was caused by an accidental action, usingCtrl + Zto undo the deletion or movement may restore the references. That said, reviewing the formula and replacing the missing reference with the correct one is usually the best solution.
The#NUM!error in Excel, though less frequent than other errors, arises when a formula or function contains invalid numerical data. This usually happens when a calculation produces a result that is too large or too small for Excel to handle, or when invalid arguments are used. Common causes include incorrect inputs for mathematical functions like SQRT or LOG, as well asExcel’s financial functionssuch as IRR or RATE.
For example, the formula=SQRT(-1)would return#NUM!because square roots of negative numbers are not valid in real number mathematics.
A common solution for the#NUM!error is to check the formula’s inputs and ensure they are within acceptable ranges. For functions like IRR, where the calculation fails to converge on a result, adjusting the guess value (an optional input) can often resolve the error.
The#SPILL!errorappears when anExcel formula or functiontries to output multiple results but is blocked by other data or objects in adjacent cells. This error is most commonly associated with dynamic array functions like SEQUENCE, FILTER, or UNIQUE, which automatically return multiple results across a range of cells.
For example, if a formula like=SEQUENCE(3,1)is placed in cell A1, it tries to output a list of 3 numbers (1, 2, 3) in cells A1 to A3. If any of those cells (A2 or A3) already contain data, the formula will return a#SPILL!error because the result cannot “spill” into those cells.
To fix this, all you need to do is clear the obstructing data or move the formula to a different location with sufficient empty space for the spill range.
When your Excel formula doesn’t display correctly, it’s often due to incorrect references, typos, or formatting issues. Knowing how to fix common Excel errors like #DIV/0!, #REF!, and #NUM! can help you quickly resolve problems andsave valuable time while working on your spreadsheets.