The #VALOR! error in Excel appears when a formula or function receives a value of the wrong type — most often text where a number is expected, or a reference that points to text instead of a numeric cell. To fix it, check the cell or range your formula references, convert text-formatted numbers to real numbers, and make sure any function arguments match the expected data type. The exact steps depend on whether the problem is a single cell, an imported column, or a formula that mixes text and numbers.
What You'll Need
- Excel for Windows, Mac, or Excel for the web (the error and fixes are the same; menu labels can differ slightly by version and region).
- The workbook that shows the #VALOR! error, saved and backed up before you make bulk changes.
- Basic access to the Formulas tab and the Home tab, or the equivalent ribbon areas on your version.
Step-by-Step
- Locate every #VALOR! cell. Press Ctrl+F (Cmd+F on Mac), type
#VALOR!in the Find field, and choose Find All. This lists each cell so you can see whether the error is isolated or spread across a column. - Click one error cell and read the formula bar. Identify which part of the formula is likely receiving the wrong data type. For example,
=A2+B2will produce #VALOR! if either A2 or B2 contains text such as a space, an apostrophe prefix, or a label like "N/A". - Check the referenced cells for text that looks like a number. Select the cell, look at its alignment: numbers align right by default, text aligns left. A green triangle in the corner also signals a number stored as text.
- Convert text-formatted numbers to real numbers. Select the affected cells, then use Data > Text to Columns and click Finish without changing any options. This re-parses the cells as numbers. Alternatively, copy a blank cell, select the range, and use Paste Special > Add — but only if the cells contain no formulas you need to keep.
- Remove stray characters. Use Find and Replace (Ctrl+H) to delete non-breaking spaces, apostrophes at the start of numbers, or trailing spaces. Type the character in Find what, leave Replace with empty, and choose Replace All.
- Correct function arguments. If the error comes from a function such as SUM, AVERAGE, or a lookup, verify each argument points to the right type. For example, a lookup value that is text will not match a numeric key column; convert one side so both match.
- Wrap uncertain references with a type check. Use
ISNUMBERorISTEXTin a helper column to confirm what Excel sees. For example,=ISNUMBER(A2)returns TRUE only if A2 is a true number. - Re-enter the formula cleanly. Delete the formula and retype it rather than editing in place, especially if you copied it from another source that may have introduced hidden characters.
- Recalculate and recheck. Press F9 to force a recalculation, then scan the column again with Ctrl+F for #VALOR! to confirm no cells remain.
Common Mistakes
- Formatting cells as Number without converting the underlying value. Changing the cell format does not turn text into a number; the cell still holds text and the error persists.
- Using Paste Special > Add on cells that contain formulas. This overwrites formulas with values and can destroy your workbook logic. Work on a copy first.
- Assuming the error is in the cell that displays it. #VALOR! often appears in a formula cell while the real problem is in a referenced cell elsewhere.
- Ignoring locale differences. In some regions the decimal separator is a comma, so imported data may be parsed as text. Check your regional settings if conversions keep failing.
- Deleting rows or columns to "fix" the error. This removes data you may need and does not address the type mismatch.
Tips
- Use
VALUE()to convert a text number inside a formula, for example=VALUE(A2)+B2, when you cannot change the source cell. - Turn on error checking under Formulas > Error Checking to get Excel's own explanation for the selected cell.
- Keep a helper column with
ISNUMBERchecks while cleaning imported data; delete it once the sheet is correct. - When importing CSV files, use Data > From Text/CSV and set the column type to Whole Number or Decimal instead of General, so numbers arrive as numbers.
- Save a backup copy before any bulk Find and Replace, since a misplaced replacement can alter many cells at once.
Troubleshooting
If the error remains after converting the obvious cells, widen your search. Select the whole column and use Data > Text to Columns again, because a single hidden text cell can break an entire SUM range. If the formula uses a lookup, confirm that both the lookup value and the lookup column share the same type — a common cause is a numeric ID in one table and a text ID in another.
If #VALOR! appears only after you refresh a query or external data connection, check the source column types in the query settings rather than fixing cells one by one. If the workbook was built by someone else, use Formulas > Show Formulas to see every formula at once and spot mixed references quickly.
If the error appears in a cell that looks completely numeric, clear the cell and retype the value manually. Copied data sometimes carries invisible characters that survive formatting changes. If the problem persists across a whole sheet, test the same formula in a new blank workbook with a few typed numbers — if it works there, the issue is in the data, not in Excel.
Frequently Asked Questions
What does #VALOR! mean in Excel?
It is the Spanish-language version of the #VALUE! error. It means a formula received a value of the wrong type, usually text where a number was expected.
Why does #VALOR! appear only in some cells of the same column?
Those cells likely contain text-formatted numbers or hidden characters, while the working cells contain true numbers. Check alignment and green triangles to confirm.
Does changing the cell format to Number fix #VALOR!?
No. Formatting changes appearance only. You must convert the underlying value, for example with Text to Columns or by retyping the number.
Can #VALOR! appear in a formula with no cell references?
Yes. A formula that concatenates text with a number, or that passes text to a function expecting a number, can produce #VALOR! even without references.
Will #VALOR! break my whole workbook?
No. It affects only the cells whose formulas cannot evaluate. Dependent formulas may also show errors until the source cells are corrected.
How do I stop #VALOR! from returning after I fix it?
Fix the data at the source — import columns with the correct type, avoid pasting numbers as text, and use ISNUMBER checks when combining data from different sheets.