Troubleshooting Formulas

Formulas are extremely powerful tools, especially when they include functions, and constructing valid formulas can be a bit tricky. Fortunately, Excel provides a group of formula-auditing tools that can help you find and fix errors such as circular references, incorrect syntax in a formula, or a referenced cell that has been deleted.

Review the Errors

  1. On the Formulas tab, click the Show Formulas button to display all the formulas in the worksheet.

  2. Click the Error Checking button.

  3. In the Error Checking dialog box, use the Next and the Previous buttons to find and review the errors in your worksheet.

  4. Click the Edit In Formula Bar button if you see the mistake and want to correct the formula.

    Review the Errors

Tip

Tip

To fix a single error, click in a cell that displays an error such as #REF!, #NAME!, or #VALUE. Click the Actions button that appears, and choose an appropriate command from the menu to fix the error.

Tip

Tip

To diagnose problems where other cells are referenced, click in the cell and then click the Trace Precedents button to see a map of cells referenced, or click the Trace Dependents button to see a map of cells that reference this cell. Click Remove Arrows to remove the mapping symbols when you’ve finished.

Evaluate a Formula

  1. If you can’t figure out the error, click the Show Calculation Steps button in the Error Checking dialog box to display the Evaluate Formula dialog box.

  2. Note the formula and the underlined item.

  3. Click the Evaluate button to see the formula with the result of the underlined item included.

  4. Inspect the formula and try to identify the source of the error. If the error is shown but you can’t determine its source, click the Restart button.

  5. Continue clicking the Evaluate button and inspecting the formula until the entire formula is solved, noting any errors as they occur.

  6. Click Close, and make any changes necessary to correct the formula.

  7. On the Formulas tab, click the Show Formulas button to hide the formulas and display their results instead.

    Evaluate a Formula
    Evaluate a Formula

Tip

Tip

To modify the error-checking rules that Excel uses, choose Excel Options from the Office menu, and, in the Excel Options dialog box, click the Formulas category. Review the rules, and select or clear check boxes to change which rules are used.

See Also

See Also

"Doing the Arithmetic" for information about the order in which Excel makes calculations and how you can change the order.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset