How To Check For Errors In Excel

When you use formulas in excel, you may always meet errors. In such a case, you may see the text #VALUE! in the cell instead of the value that it should be. Excel provides a feature to check the errors in your worksheet, it can also help you to debug and fix the error. This article will tell you how to use it to check for errors in excel.

1. How To Turn On Excel Error Checking Option.

  1. Open Excel, and click the File tab on the top excel ribbon area.
  2. Click the Options item on the left side to open the Excel Options dialog window.
  3. Click the Formulas item on the left side panel.
  4. Go to the Error Checking section on the dialog window’s right side.
  5. Make sure to check the Enable background error checking checkbox.
  6. You can customize the error color from the Indicate errors using this color drop-down list.
  7. Go to the Error checking rules section below the Error Checking section.
  8. And check the checkbox before the error checking rules to enable that rule.
  9. Then the error checking rule will be triggered when an error occurred on the worksheet.

2. How To Check, Debug, And Fix Errors In Excel.

2.1 Cells containing formulas that result in an error Rule Example.

  1. In this example, I will show you how to use error checking in excel to check value errors.
  2. Input the text value 2022.1.1 in cell A1, then input the formula =DATAVALUE(A1) in cell B1.
  3. Click cell A1 and move the mouse pointer to the bottom right corner of the cell.
  4. When the pointer change to a black cross icon, click it and drag the black cross pointer down to create more rows with the same text.
  5. Do the same in cell B1, and it will create a formula in each cell of the rows below cell B1.
  6. Below is the example data table with the data and formula.
    A B
    1 2022.1.1 #VALUE!
    2 2022.1.2 #VALUE!
    3 2022.1.3 #VALUE!
    4 2022.1.4 #VALUE!
    5 2022.1.5 #VALUE!
    6 2022.1.6 #VALUE!
  7. When you see the #VALUE! text in the cell and there is a small green triangle on the top left corner of the cell, which means the formula has an error.
  8. To debug it, we can click the Formulas tab on the excel top ribbon area, then click the Error Checking item in the Formula Auditing group.
  9. Then it will pop up the Error Checking dialog window, and select the first error formula cell.
  10. You can see the cell info that has the error, in this example, it is Error in cell B1.
  11. It will show the formula that triggers the error below the above cell info. In this example, the error formula is =DATEVALUE(A1)
  12. You can find the error detailed information below the error formula, in this example, the error detailed message is Error in Value, A value used in the formula is of the wrong data type.
  13. Click the Show Calculation Steps button will open the Evaluate Formula dialog window, you can debug the formula error in this dialog window.
  14. Click the Evaluate button it will evaluate the formula that triggers the error.
  15. If your formula is complex, you can click the Step In, Step Out to debug the formula in more detail.
  16. Click the Close button will close the Evaluate Formula dialog window.
  17. Now it goes back to the Error Checking dialog window, and we can click the Next button to go to the next cell that triggers the error.
  18. In this example, the error checking dialog tell us the error is because of the wrong data type.
  19. So we can change the date text from 2022.1.1 to 2022-1-1, then the error is fixed.
  20. This is because 2022.1.1 is not a regular excel date format.
  21. If the cell formula has an error, when you click to select the cell, it will display a yellow diamond before the cell.
  22. Hover your mouse pointer on the yellow diamond, it will display a string to tell you the error reason.
  23. When you click the down arrow after the yellow diamond, it will list the same items that exist in the Error Checking dialog window.
  24. If you click the Error Checking Options… menu item in the menu list, it will open the Excel Options dialog and show the Formulas —> Error Checking section to you.
  25. This error is triggered by the rule Cells containing formulas that result in an error, you can go to the Excel Options dialog —> Formulas —> Error checking rules to enable or disable it.
  26. When you check it to enable it, it will trigger the error on the worksheet, when you uncheck it to disable it, it will not show the error signals on the worksheet.

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.