Formula dependencies in Excel

Formula dependencies in Excel allow you to display relationships between formulas and cells. The example below will help you understand formula dependencies quickly and easily.

=ROUNDUP(C10/C12,0)

=ОКРУГЛВВЕРХ(C10/C12;0)

Influencing cells

As you can see in the picture above, you have to pay $96. To display arrows indicating which cells are used to calculate this value, follow the instructions below:

  1. Highlight a cell С13.
  2. On the Advanced tab Formulas (Formulas) section Formula Auditing (Formula dependencies) click Trace Precedents (Influencing cells).

    Formula dependencies in Excel

    Result:

    Formula dependencies in Excel

    As expected, the total cost of the order and the size of the group are used to calculate the cost per person.

  3. Click on again Trace Precedents (Influencing cells).

    Formula dependencies in Excel

    As expected, a list of various costs is used to calculate the total cost.

Remove arrows

To remove the arrows, do the following:

  1. On the Advanced tab Formulas (Formulas) section Formula Auditing (Formula dependencies) click Remove Arrows (Remove arrows).Formula dependencies in Excel

Dependent Cells

To display arrows that indicate which cells depend on the selected cell, follow the instructions below:

  1. Highlight a cell С12.
  2. On the Advanced tab Formulas (Formulas) section Formula Auditing (Formula dependencies) click Trace Dependents (Dependent cells).

    Formula dependencies in Excel

    Result:

    Formula dependencies in Excel

    As expected, the cost per person depends on the size of the group.

Show formulas

By default, Excel shows formula results. To show formulas and not their results, follow the instructions:

  1. On the Advanced tab Formulas (Formulas) section Formula Auditing (Formula dependencies) click Show Formulas (Show formulas).

    Formula dependencies in Excel

    Result:

    Formula dependencies in Excel

Note: Instead of clicking on Show Formulas (Show formulas), you can press the keyboard shortcut CTRL + `. Key «`» located above the key Tab.

Checking for Errors

To check for common errors that creep into formulas, do the following.

  1. Enter the value 0 in the cell С12.

    Formula dependencies in Excel

  2. On the Advanced tab Formulas (Formulas) section Formula Auditing (Formula dependencies) click Checking error (Checking for errors).

    Formula dependencies in Excel

    Result:

    Formula dependencies in Excel

    Excel finds errors in a cell С13. The formula tries to divide numbers by 0.

Formula calculation

To debug a formula by evaluating each part individually, do the following:

  1. Select cell С13.
  2. On the Advanced tab Formulas (Formulas) section Formula Auditing (Formula dependencies) click Evaluate Formula (Compute formula).

    Formula dependencies in Excel

  3. Click on Evaluate Formula (Compute the formula) four times.

    Formula dependencies in Excel

Excel shows the result of the formula:

Formula dependencies in Excel

Leave a Reply