Formula Errors

How to Fix Excel Cell Format Showing #VALUE! Error

Elise WilliamsElise Williams Oct 26, 2026 868 views

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.

How to Fix Excel Format List Showing #VALUE! Error
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.
Before you start

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.

Solution 1Recommended

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.

1
Locate the problematic source cells

Click through the cells referenced by your failing addition or subtraction formulas to identify where the data might be corrupted or containing hidden characters.

2
Clear the corrupted data

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.

3
Re-enter the numerical data manually

Type the correct figures directly into the cleared cells. Manual entry ensures Excel recognizes the input as pure numerical values rather than text.

4
Verify formatting and formulas

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.

Identify and Replace Malformed Text from Copied Data
Pasting Tip: To prevent this issue in the future, copy your PDF data, right-click the destination cell in Excel, select 'Paste Special', and choose 'Text' to paste the values without bringing over hidden source formatting.
Advanced Data Extraction

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. 1. Open PDF to Excel tool: Launch WPS Office and navigate to the 'Tools' tab on the homepage, then select 'PDF to Excel'.
  2. 2. Select your document: Choose the PDF file containing the figures and tables you need to analyze.
  3. 3. Convert the file: Click 'Convert' to allow WPS Office to accurately parse and extract the numerical data into a clean spreadsheet environment.
  4. 4. Perform calculations securely: Apply your number formats and calculate basic formulas seamlessly, completely avoiding the #VALUE! formatting errors.
Accurate PDF to Spreadsheet conversion without hidden formatting or malformed textFully compatible with Microsoft Excel (.xlsx) formats and formulasPrevents #VALUE! errors by correctly identifying numerical dataLightweight, fast, and feature-rich free office suite
microsoft office alternative - wps office

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.