how to fix formula in excel getting #VALUE

Benhar T (IND) 0 Reputation points
2026-09-17T18:33:35.47+00:00

unable to calculate total numbers in excel sheet getting #VALUE how to solve

Microsoft Edge | Other | Windows 11
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-09-17T18:33:57.8133333+00:00

    #VALUE! usually means the formula is using text, spaces, hidden characters, or mismatched data instead of valid numbers.

    Try this in order:

    1. Find which referenced cell is causing the error
      • Select the cell showing #VALUE!
      • Go to Formulas > Evaluate Formula > Evaluate
      • Step through the formula to see which part fails
    2. Check for spaces or hidden characters in the cells used by the formula
      • Select the referenced cells or the whole column
      • Go to Home > Find & Select > Replace
      • In Find what, type one space
      • In Replace with, leave it blank
      • Choose Replace All if all spaces should be removed
    3. Check for cells that look blank but are not really blank
      • Go to Home > Sort & Filter > Filter
      • Filter for Blanks
      • Select unnamed blank-looking entries and delete them
      • Clear the filter
    4. Check whether numbers are stored as text
      • Text values in a calculation can cause #VALUE!
      • If a number is left-aligned or includes text like units, remove the text from the cell value
      • Keep only the number in the cell
      • If needed, display units using formatting instead of typing them into the cell
    5. Use functions that ignore text when appropriate
      • Instead of =A2+B2+C2, use =SUM(A2:C2)
      • Instead of =A2*B2, use =PRODUCT(A2,B2)
      • If one cell sometimes contains words instead of numbers, SUM can avoid the #VALUE! error in some cases
    6. If using SUMPRODUCT, make sure ranges match
      • All array ranges must have the same size
      • Example: =SUMPRODUCT(D2:D13,E2:E13) works, but mismatched row counts can return #VALUE!
    7. If AVERAGE or SUM includes cells that already contain errors
      • Use an error-ignoring formula such as:
        • =AVERAGE(IF(ISERROR(B2:D2),"",B2:D2))
        • =SUM(IF(ISERROR(B2:D2),"",B2:D2))
      • In Microsoft 365, press ENTER
      • In older Excel versions, confirm with CTRL+SHIFT+ENTER
    8. Use IFERROR only if hiding the error is acceptable
      • Example: =IFERROR(your_formula,"")
      • Warning: IFERROR hides all errors, so fixing the source problem is better when possible

    If the formula is a simple total, replacing manual addition like =A1+A2+A3 with =SUM(A1:A3) is often the quickest fix.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. John Jefferson Doyon 88,630 Reputation points Independent Advisor
    2026-09-17T19:12:20.56+00:00

    Hi, @Benhar T (IND)

    What formula are you using when #VALUE! appears, and are you using the Excel desktop app or Excel for the web in Microsoft Edge?

    Also, are you trying to add a range of numbers, or does the formula include other calculations?

    The #VALUE! error usually means the formula is trying to calculate something Excel does not recognize as a number.

    If you haven’t tried it yet, click the cell showing #VALUE! and check the formula bar. Also check the cells used by the formula for text, spaces, or other errors.

    If you are simply adding numbers, try: =SUM(A1:A10)

    You can also copy the formula here, but please remove any personal information.


    Click "Add comment" to let me know.

    Thanks!

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.