How to correct a #REF! Error in Excel
Error #REF! show when the formula refers to a cell that is not valid. This happens most often when a cell referenced by a formula is deleted or pasted.
Error #REF! when clearing cells
For example, you have a worksheet with data column D created by Column B times column C.
Deleting column B or C will cause a #REF! Error . . The image below is after the Software Wizard deleted column B:
Now the formula will become = # REF! * B4 => The object that needs reference is lost by deleting the column or row that contains that object.
In addition, cutting data and pasting it into a referenced area also causes a #REF! Error . . For the example worksheet above, you use the cut command to cut data from any cell, for example E2 (with data 2) into cell B4.
As a result, the data of cell E2 will be overwritten in cell B4 and in cell D4, the #REF ! Error will appear .
- In case of an error that you accidentally perform that action, press Ctrl + Z to undo (back to the previous time when performing the delete / cut - paste action of that data).
- Or you can turn off the excel file without saving the data, then reopen the file to return to the spreadsheet at the time of the previous save.
- If you accidentally saved the file containing the reference error, you cannot fix it again. At that time, to review the data and correct it manually.
Error #REF! Due to unavailable reference, out of range
Error reference #REF! Occurs when using functions with the col_index_num, row_index_num arguments in some formulas that exceed the range of references.
For example, in the spreadsheet below, the A3: D7 only 4 columns, but the value col_index_num function VLOOKUP is 6; exceeds the range of data ranges to be referenced. Therefore the result is a #REF! Error .
How to fix:
- Review the data and correct it manually.
- Instead of entering numbers at the arguments col_index_num, row_index_num ; You can use the formula to automatically calculate the col_index_num, row_index_num arguments . Use the Match function to calculate the row_index_num argument and the Column function to find the col_index_num object .
Error reference #REF! because the reference object outside of the Workbook is working, that reference Workbook is closing in a number of functions like Indirect. In the above case, you must overcome by replacing the function with equivalent uses or copying reference data and the Indirect function with the same Workbook.
So we can understand the #REF! Error! in Excel already. Hopefully we will avoid this error and if we encounter this error, we can also know how to fix it. Good luck!
You should read it
- How to correct a #NAME error in Excel
- How to fix the SUM function doesn't add up in Excel
- What is ### error in Excel? how to fix ### error in Excel
- Instructions on how to fix reverse dates in Excel
- How to use the FIND function in Excel?
- how to fix error cannot copy data in Excel files
- How to fix the date #VALUE error in Excel
- How to fix date format errors in Excel
May be interested
- How to fix date format errors in Excelyou are new to excel and there are many strange problems. you are reversed the date format in excel. so how to fix this.
- How to correct when Excel automatically rounds numbersinstructions on how to quickly adjust excel to automatically round numbers. find out in tipsmake's article if this is a trick you're interested in
- Instructions to fix Excel column/row freezing not workingin some cases, you don't see the option to freeze excel columns or rows, which affects document processing and overall view of the data table.
- How to fix Vietnamese error when opening CSV file in Excelwhen converting excel file data into a csv file, you often encounter errors that do not display vietnamese fonts. this will undoubtedly have a small impact on your work. so how to fix the excel file error when converting to csv.
- Common causes of Excel workbook errorslost your work on excel due to file corruption? understanding the errors that cause damaged excel files will help you avoid that from happening.
- Fix Excel crashes in Windows 10since excel is developed by microsoft, you will have no problem using it on your windows computer. unfortunately; that's not entirely correct. sometimes excel hangs or freezes, leaving you with no chance to finish your work.
- How to fix date errors when copying to another Excel filewhen you copy the date to another excel file or change the date, it is 4 years and 1 day slower than the date in the file. so how to fix the error of displaying the wrong date when copying in excel?
- Fix Unable to unlink error in Excelinstructions on how to fix the error cannot be unlinked in excel, this is an error that users often encounter while using excel spreadsheets.
- How to fix the error of correct alignment but incorrect printing in Word?immediately refer to how to fix alignment errors that are correct but not printed correctly in word at a glance, shared by tipsmake in the article.
- How to fix reverse date errors in Excelthe dates are reversed in excel, the month before the next day makes vietnamese users feel strange and unfamiliar. strictly speaking, this is not an error but due to the different ways of writing foreign and vietnamese dates. to correct this you can follow the instructions below of tipsmake.vn.