How to correct a #VALUE! error in excel?

The “#VALUE!” error in Excel typically occurs when a formula or function includes invalid or incompatible data types. To correct this error, you can follow these steps:

Identify the cell or formula causing the error

Start by identifying the cell that displays the “#VALUE!” error message. This will help you focus on the specific part of your worksheet that needs correction.

Check for invalid data

If the cell contains any invalid data. The “#VALUE!” error often occurs when you mix different data types or when a function expects a specific type of data. For example, if you have a formula that requires numbers, but the cell contains text, the error will occur.


Let’s say you have the formula =A2 + B2 in cell C2. If cell A2 contains the number 5, but cell B2 contains the text “Hello,” the formula will result in the “#VALUE!” error.

Resolve data type conflicts

Ensure that the data types used in your formula are compatible. If you are performing calculations, make sure all cells involved contain numerical values or compatible data types.

Use appropriate functions or formulas

Confirm that the functions or formulas used in the cell are correct and appropriate for the task. Review the function’s syntax and ensure that all required arguments are provided correctly.

Apply data conversion

If you have cells with incompatible data types, you can use conversion functions to change the data type to a compatible format. The VALUE function, for example, converts text to numbers.


Let’s say you have the formula =A2 + VALUE(B2) in cell C2. If cell A2 contains the number 5 and cell B1 contains the text “10,” using the VALUE function will convert “10” to a number, allowing the calculation to be performed without the “#VALUE!” error.

Check cell references

Verify that any referenced cells or ranges exist and contain valid data. If a referenced cell has an error, such as a “#VALUE!” error or any other error, fix the error in that cell first before correcting the “#VALUE!” error in the formula.


Let’s say you have the formula =A2 / B2 in cell C2. If cell B2 contains the “#VALUE!” error, you need to fix the error in B2 first before you can calculate the division in C2.

Use error handling functions

Error handling functions like IFERROR, ISERROR, or ISNA can be used to handle and display custom messages for specific error types. They allow you to replace the “#VALUE!” error with a more informative message or an alternative result.


Instead of displaying the “#VALUE!” error, you can modify the formula =A2 / B2 in cell C2 to use the IFERROR function: =IFERROR(A2 / B2, “Error: Invalid division”). If an error occurs during the division, the custom message “Error: Invalid division” will be displayed in cell C2 instead of “#VALUE!”.

Refresh external data sources

If your spreadsheet contains external data connections, ensure that the data sources are accessible and up to date. Refresh the connections to retrieve the latest data. Sometimes, a “#VALUE!” error can occur if the data source is not available or if there is an issue with the data retrieval.

Review calculations and dependencies

If none of the above steps resolve the error, review the calculations and dependencies in your worksheet. Check for any circular references or complex formulas that might be causing the error. Verify that all references and calculations are accurate and make necessary adjustments

By following these steps, you should be able to identify and correct the “#VALUE!” error in Excel.

Help us grow the project

Unlock Your Potential


Basic - Advanced


Access Basic - Advanced

Power BI

Power BI Basic - Advanced

Join our Facebook Group!