Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Fix Value Errors in Excel

Learn how to fix Value Errors with practical troubleshooting steps, common causes, and prevention tips to keep the issue from returning.

Table of Contents

This guide explains how to resolve Value Errors, starting with the most likely causes and moving through practical troubleshooting steps.

How to Fix Value Errors in Excel screenshot

Error #VALUE with spaces

Many times, your formula involves cells that contain hidden spaces, which appear to be blank, but are not white in reality, so #VALUE!

Error #VALUE with spaces screenshot 2

To fix this problem, you can remove these hidden spaces as follows:

Step 1 : Select the referenced cells, then press Ctrl + H to open the replacement dialog box.

Error #VALUE with spaces screenshot 3

Step 2: In the Find and Replace dialog box, enter a space in the Find what box and in Replace with you do not enter anything. Then click Replace All to remove all spaces.

Error #VALUE with spaces screenshot 4

Many times, there are hidden characters other than spaces that make the field look blank but actually it is not empty. To remove these characters, you can continue with the next steps.

Step 3: On the area you have selected you select Data -> Filter to open the filter.

Error #VALUE with spaces screenshot 5

Step 4 : Select the filter icon on the column header and uncheck the Select All box, then check in the Blanks checkbox or the checkbox has no content.

Error #VALUE with spaces screenshot 6

Step 5 : The filter results appear, select the blank cells and press the Delete key. So you deleted all the hidden characters in the cells.

Error #VALUE with spaces screenshot 7

Step 6 : Clear the filter by clicking the filter icon on the title box and selecting Clear Filter From.

Error #VALUE with spaces screenshot 8

So you will get the following results:

Error #VALUE with spaces screenshot 9

Error #VALUE! when there is text or special characters

If a cell contains text or special characters, an #VALUE! Error will be generated. but it's hard to know which cell contains text or special characters if the data list is very long.

Error #VALUE! when there is text or special characters screenshot 10

To search for cells containing text or special characters you can fix the #VALUE! then you use the ISTEXT function to check the cells.

Step 1 : Create 1 more column next to the data column you need to check, in the first cell of the column you enter the formula = ISTEXT (C6)

Error #VALUE! when there is text or special characters screenshot 11

Step 2 : Copy the formula down all remaining cells, ISTEXT () will return TRUE if the cell contains text or special characters, return FALSE if the cell does not contain text or characters especially.

Error #VALUE! when there is text or special characters screenshot 12

Step 3 : Next, you select the cells containing TRUE and delete the text or special characters, the function will no longer #VALUE!

Error #VALUE! when there is text or special characters screenshot 13

You also need to delete the column you created in step 1, and the result will be no #VALUE! Error.

Error #VALUE! when there is text or special characters screenshot 14

Value error occurs when using the numeric operators (+, *)

For example, you use the + operator to add the sales of two days without a sales day. You will get the #VALUE error.

Value error occurs when using the numeric operators (+, *) screenshot 15

To fix this, replace the + operator with the SUM function formula, the SUM function will ignore the string and return the result.

Value error occurs when using the numeric operators (+, *) screenshot 16

Similar to the * operator, if you have a #VALUE error, you can replace it with the PRODUCT function to multiply in Excel.

Value error occurs when using the Average, Sum function

If the average or sum contains the #Value! then the result of Average, Sum will also return the #VALUE error.

Value error occurs when using the Average, Sum function screenshot 17

To fix this, you can use an array formula in combination with two groups of functions: If + Isseror or Iferror .

  • SUM function

Method 1

{= SUM (IFERROR (C6: C8; ""))}

Because this is an array formula, once you have entered the SUM function, press Ctrl + Shift + Enter to display the curly braces.

Value error occurs when using the Average, Sum function screenshot 18

Method 2

{= SUM (IF (ISERROR (C6: C8); ""; C6: C8))}

The ISERROR function will determine if any value in the range C6: C8 is an error value, it will return a blank result, so the values for the final calculation SUM will remove all error values.

Value error occurs when using the Average, Sum function screenshot 19

  • AVERAGE function

Similar to the SUM function, the AVERAGE function you also use the array formula IF and ISERROR.

Method 1

{= AVERAGE (IFERROR (C6: C8; ""))}

Value error occurs when using the Average, Sum function screenshot 20

Method 2

{= AVERAGE (IF (ISERROR (C6: C8); ""; C6: C8))}

Value error occurs when using the Average, Sum function screenshot 21

Similar to some other functions (IF, CONCATENATE.) you get #VALUE! When referring to error values, you can also handle errors by using the IF, ISERROR and ISERR or IFERROR functions in the formula.

Above the article has taught you some ways to fix Value errors in Excel, hope you will be able to fix Value errors when you encounter this error. Good luck!

FAQ

What usually causes Value Errors?

The cause may involve incorrect settings, outdated software, damaged files, permission problems, device compatibility, or a temporary system issue.

What should I try first to resolve Value Errors?

Restart the affected app or device, install pending updates, verify settings and connections, and follow the troubleshooting steps in order.

How can I prevent the issue from returning?

Keep software updated, maintain backups, avoid interrupted installations, and review system or device settings after major changes.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.