How to Fix Excel Cell Format Showing #VALUE! Error
Question details
The user experiences a #VALUE! error across every option in the cell format list (General, Date, Number) and cannot perform basic mathematical formulas.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to format cells and calculate basic addition or subtraction formulas using data that was copied and pasted from external converted PDF or Word documents.
- Observed behavior
- Excel displays #VALUE! for all number formats in the format dropdown list, and any basic addition or subtraction formulas relying on that data fail to compute.
Identify the source of your spreadsheet data; if the numbers were recently copied and pasted from external files like PDFs or Word documents, they may contain invisible formatting characters causing the calculation errors.
Identify and Replace Malformed Text from Copied Data
Use this method to strip out hidden formatting characters that commonly occur when copying tabular data from converted PDF files or Word documents.
When you copy data from a PDF or a Word document into Excel, invisible characters, spaces, or malformed text encodings often come along with it. Excel interprets these cells as text strings rather than pure numbers, which breaks the cell formatting list and triggers the #VALUE! error in mathematical formulas.
Click through the cells referenced by your failing addition or subtraction formulas to identify where the data might be corrupted or containing hidden characters.
Highlight the affected cells containing the pasted data and press the 'Delete' key on your keyboard to completely clear the contents and associated invisible formatting.
Type the correct figures directly into the cleared cells. Manual entry ensures Excel recognizes the input as pure numerical values rather than text.
Select the newly entered data, navigate to the 'Home' tab, and check the 'Number Format' dropdown. The #VALUE! error should be gone, and your addition or subtraction formulas will now compute accurately.

Trace and Fix Existing #VALUE! Errors in Referenced Cells
Formulas will output a #VALUE! error if even a single cell they reference already contains this error.
Use WPS Office to Seamlessly Extract PDF Data to Spreadsheets
Avoid hidden characters and #VALUE! errors caused by manual copy-pasting. WPS Office features a built-in PDF to Excel converter that accurately extracts tables and numerical data into clean, correctly formatted spreadsheets.
- 1. Open PDF to Excel tool: Launch WPS Office and navigate to the 'Tools' tab on the homepage, then select 'PDF to Excel'.
- 2. Select your document: Choose the PDF file containing the figures and tables you need to analyze.
- 3. Convert the file: Click 'Convert' to allow WPS Office to accurately parse and extract the numerical data into a clean spreadsheet environment.
- 4. Perform calculations securely: Apply your number formats and calculate basic formulas seamlessly, completely avoiding the #VALUE! formatting errors.

Frequently Asked Questions
Why does Excel show a #VALUE! error when I subtract two cells?
This usually occurs when one of the referenced cells contains text, hidden characters, or spaces instead of a pure number. Because Excel cannot perform mathematical operations like subtraction on text, it returns the #VALUE! error.
How do I automatically remove hidden characters from copied PDF data?
You can use the CLEAN() function in combination with the TRIM() function in Excel to strip out non-printable characters and extra spaces. Alternatively, use 'Paste Special' > 'Text' when pasting data into your spreadsheet.
Can the VALUE function fix numbers stored as text?
Yes, you can use the =VALUE() function. By typing =VALUE(A1), Excel will attempt to convert a text string that looks like a number in cell A1 into an actual numerical value, which often resolves downstream calculation errors.




