When using the Excel tool, encountering errors is inevitable, and #REF! error is a common one. Therefore, whether you've been hit by #ref! error in Excel or not, it's essential to explore and remember the following error correction methods.

Understanding #REF! Error in Excel
#REF! Error in Excel is interpreted as a reference error when you refer to invalid data cells. These errors often occur when referencing deleted cells or exceeding the allowed value.

#REF! Errors in Excel and How to Resolve
Identifying 4 Primary Causes of #REF! Error:
- Error due to deleted reference column.
- Error due to reference cells exceeding the allowed value.
- Error from copying data from this table to another.
- Error due to referencing the CLOSED INDIRECT function.
#REF! Error from Deleted Reference Column
If you accidentally delete the column you are referencing, the #REF! error will appear. To fix it, simply add back the column and the values within the column to resolve the error.
Step 1:In the following data table, try deleting column D. The table will immediately display the #REF! error.
Step 2:Fix the error by pressing
Ctrl + Zto undo or manually add the old column.

Error from Reference Cells Exceeding Allowed Value
When you reference more cells than declared, the function encounters the #REF! error. To fix, simply delete excess values and reference the correct number of cells in the table.
Step 1:In the same data table, we employ the
VLOOKUPfunction to reference 5 columns. However, the table only has 4 columns, causing the function to display the #REF! error.
Step 2:Change the number of columns from 5 to 4, and the function will return the correct result.

Error from Copying Data from This Table to Another
Sometimes, copying data from one Excel file to another can lead to #REF! error. For this reason, simply compare the copied file with the original file and adjust the data to match.
Step 1:Perform data table copy to a new Excel file.
Step 2:Encounter the #REF! error, compare the two files, adjust the data, and the correct result will display on the Excel table.

Error from Referencing CLOSED INDIRECT Function
In Excel, the INDIRECT function is a closed function, and data outside this function cannot be referenced inside. Therefore, to reference this function, you need to reopen the function and re-reference.
Step 1:Enter the data table and reference the cells as shown.
Step 2:Encounter the #REF! error on the screen, you need to reopen the
Working with INDIRECT Functionand re-reference.

Common Syntax Errors in Excel
Apart from the #REF! error, you should also be aware of the following errors to avoid when using Excel:
- #N/A Error: Error not finding a result or indicating an unavailable result.
- #VALUE! Error: Incorrect data format error.
- #NAME? Error: Error due to misspelling the function name.
- #NUM! Error: Function error containing an invalid numerical value.
- #DIV/0! Error: Divide by 0 error.

Temporary Solutions for Fixing #ref! Error in Excel
Mytour shares valuable insights on
handling #REF! error in Excel. We hope this article eliminates any uncertainty for our readers when encountering this issue. Wishing you success!
- Explore more articles: Windows Tips, Basic Excel Tricks.
