Start free

#VALUE! error in Excel: what it means and how to fix it

Works in every version of Excel

Key takeaways

  • #VALUE! means a formula got a value of the wrong kind, usually text where it needs a number.
  • The culprit is often invisible: a single space in a cell that looks empty.
  • SUM skips text in a range; the + sign doesn't, so =SUM(B2:D2) works where =B2+C2+D2 fails.
  • FIND and SEARCH return #VALUE! when the text isn't there. Wrap them in ISNUMBER for a TRUE or FALSE.
  • Ranges that must line up, as in SUMPRODUCT and SUMIFS, give #VALUE! when their sizes differ.
Jump straight to the practice sheet
On this page

#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.

1. Text in a cell you do maths on

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:

E3=B3+C3+D3
RowABCDE
1BillJanFebMarTotal
2Rent9009009002700
3Phone35n/a35#VALUE!

SUM adds the numbers in a range and leaves text out, so it gives a total where + gives an error:

=SUM(B3:D3) → 70

That 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.

E2=SUM(B2:D2)
RowABCDE
1BillJanFebMarTotal
2Phone35353570

2. A cell that looks empty but holds a space

An empty cell counts as zero in maths. A cell holding a single space is text, and looks exactly the same:

D2=B2*C2
RowABCD
1ItemPriceQtyTotal
2Pens2.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.

3. SEARCH or FIND doesn’t find the text

SEARCH and FIND return the position of one piece of text inside another. When it isn’t there, they return #VALUE!:

C3=SEARCH("refund",B3)
RowABC
1TicketNoteRefund?
2T-101Please refund my order
3T-102Where 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)) → FALSE

FIND works the same way but matches upper and lower case exactly; SEARCH ignores case.

4. Ranges of different sizes

SUMPRODUCT multiplies its ranges row by row, so they must be the same size. Here the price range stops one row short:

D2=SUMPRODUCT(B2:B4,C2:C3)
RowABCD
1RegionUnitsPriceRevenue
2East104#VALUE!
3West56
4East84

Make both ranges cover the same rows:

=SUMPRODUCT(B2:B4,C2:C4) → 102

SUMIFS, COUNTIFS and AVERAGEIFS have the same rule: every range in them must have the same number of rows and columns.

5. A date stored as text

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.

Practise it: a total that skips the text

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
RowABCD
1JanFebMarTotal
2$120n/a$95

Write the formula in the bar above, then press Check or Enter.

Hint

Use a function instead of the + sign: SUM over A2:C2 adds the numbers and skips the text.

Solution

=SUM(A2:C2) Any formula that returns the same result passes.

Find the cell, then decide

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.

Practise this in a lessonTotal a monthly budgetA full exercise in the app's live grid, graded on what your formula calculates.Open the lesson

FAQ

What does #VALUE! mean in Excel?

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.

Why do I get #VALUE! when I add cells together?

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.

Why does SEARCH or FIND return #VALUE!?

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)).

Should I hide #VALUE! with IFERROR?

Only after you know why it appears. IFERROR hides every error, so a cell with a stray space would quietly give the wrong answer.

Summarize this guide withChatGPTPerplexityClaude

Keep going

Guides that build on this one.

All guides
Errors & fixesPractice sheet

#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.

2 min read · Updated
Errors & fixesPractice sheet

#DIV/0! error in Excel: what it means and how to fix it

#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.

2 min read · Updated
Errors & fixesPractice sheet

#NAME? error in Excel: what it means and how to fix it

#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.

2 min read · Updated

Reading is step one. Writing the formula is the skill.

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