#N/A error in Excel: what it means and how to fix it
#N/A means a lookup didn't find what it was looking for. Here are the six usual causes, how to spot each one on the sheet, and the fix, with a practice sheet.
#VALUE! means a formula was handed a value it can’t work with. Most often that’s text in a cell the formula does maths on: a note such as “n/a”, a stray space, or a number that arrived as text. The rest come from functions that return #VALUE! on purpose, such as SEARCH when it finds nothing, or SUMPRODUCT when its ranges don’t line up. Find the cell that’s the wrong kind, and the fix is usually one step.
Both rows add three months with the + sign. Rent’s total works; Phone’s February holds the text “n/a”, and + can’t add text, so that total fails:
| Row | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Bill | Jan | Feb | Mar | Total |
| 2 | Rent | 900 | 900 | 900 | 2700 |
| 3 | Phone | 35 | n/a | 35 | #VALUE! |
SUM adds the numbers in a range and leaves text out, so it gives a total where + gives an error:
=SUM(B3:D3) → 70That total is right only if “n/a” really means nothing was spent. If it stands for a figure you don’t have yet, type the number when you get it: SUM can’t tell a missing figure from a zero.
| Row | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Bill | Jan | Feb | Mar | Total |
| 2 | Phone | 35 | 35 | 35 | 70 |
An empty cell counts as zero in maths. A cell holding a single space is text, and looks exactly the same:
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Item | Price | Qty | Total |
| 2 | Pens | 2.5 | #VALUE! |
=LEN(C2) gives it away: it returns 1 for the space, and 0 for a truly empty cell. Select the cell and press Delete. To clear a whole column of them, select it and use Find and Replace: find a single space, replace with nothing, and tick Match entire cell contents so the spaces inside “New York” stay. =ISTEXT(C2) also returns TRUE for any cell holding text.
SEARCH and FIND return the position of one piece of text inside another. When it isn’t there, they return #VALUE!:
| Row | A | B | C |
|---|---|---|---|
| 1 | Ticket | Note | Refund? |
| 2 | T-101 | Please refund my order | |
| 3 | T-102 | Where is my parcel? | #VALUE! |
To flag rows instead, wrap the search in ISNUMBER. A found position is a number, so the result is TRUE or FALSE, never an error:
=ISNUMBER(SEARCH("refund",B3)) → FALSEFIND works the same way but matches upper and lower case exactly; SEARCH ignores case.
SUMPRODUCT multiplies its ranges row by row, so they must be the same size. Here the price range stops one row short:
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Region | Units | Price | Revenue |
| 2 | East | 10 | 4 | #VALUE! |
| 3 | West | 5 | 6 | |
| 4 | East | 8 | 4 |
Make both ranges cover the same rows:
=SUMPRODUCT(B2:B4,C2:C4) → 102SUMIFS, COUNTIFS and AVERAGEIFS have the same rule: every range in them must have the same number of rows and columns.
A date written in a form your computer’s date settings don’t read, such as 15/03/2026 on a computer set to US dates, stays as text. You can spot it because it sits on the left of the cell, where real dates sit on the right (unless someone changed the alignment). Subtracting it from another date gives #VALUE!. Rebuild it with DATE, or retype it in the date format your computer uses.
Your task: In D2, total the three monthly costs in A2:C2. February's cost is the text "n/a", so the total must leave it out instead of showing #VALUE!.
Graded live| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Jan | Feb | Mar | Total |
| 2 | $120 | n/a | $95 |
Write the formula in the bar above, then press Check or Enter.
Use a function instead of the + sign: SUM over A2:C2 adds the numbers and skips the text.
=SUM(A2:C2) Any formula that returns the same result passes.
When a long formula shows #VALUE!, select it and use Formulas › Evaluate Formula in desktop Excel: it works the formula out one step at a time, and the step that turns into #VALUE! names the culprit. Hide the error with IFERROR only once you know the cause is harmless, because IFERROR hides every error, including the ones that mean the formula is wrong.
The formula was given a value it can't use: text where it expects a number, a cell with a hidden space, or ranges of different sizes in a function that pairs them up.
One of the cells holds text, even if it's only a space. The + sign can't add text. Find the cell with =ISTEXT(C2) and clear it, or total the range with SUM, which skips text.
The text you're looking for isn't in the cell. Wrap the search in ISNUMBER to get TRUE or FALSE instead: =ISNUMBER(SEARCH("refund",B2)).
Only after you know why it appears. IFERROR hides every error, so a cell with a stray space would quietly give the wrong answer.
Guides that build on this one.
#N/A means a lookup didn't find what it was looking for. Here are the six usual causes, how to spot each one on the sheet, and the fix, with a practice sheet.
#DIV/0! means a formula divided by zero or by an empty cell. Why it happens, averages of nothing included, and how to show a clean result, with a practice sheet.
#NAME? means Excel doesn't recognise a word in your formula: a misspelt function, text without quotes, a missing colon. Find it and fix it, with a practice sheet.
Practise in a live grid that grades what your formula calculates, with a specific hint when it's wrong.
Runs in your browser · Graded on your result · No install