Advertisement
Money

Microsoft Excel Help: Before Deleting A Cell, Find Out If Other Cells Rely On It

Problem: Before deleting a section of the worksheet you believe is no longer needed know that if you delete the cell and some other far-off range relies on the cell, the far-off range will change to the #REF! error. How do you find out if another range refers to this cell?

By Mr Excel
Desk Money
Reading time 2 min read
Word count 346
Home Business Software
Microsoft Excel Help: Before Deleting A Cell, Find Out If Other Cells Rely On It
Advertisement
Quick Take

Problem: Before deleting a section of the worksheet you believe is no longer needed know that if you delete the cell and some other far-off range relies on the cell, the far-off range will change to the #REF! error. How do you find out if another range refers to this cell?

On this page

Strategy: Select the cell that you are considering for deletion. From the menu, select Tools – Formula Auditing – Trace Dependents as shown in Fig. 474. Dependents are other cells that rely on the current cell for calculation.

Blue arrows will draw from the active cell out to any dependents. In Fig. 475, cell D4 is used to calculate H4, and also a hidden cell in C26.

Advertisement

What if a dependent is on another worksheet? Excel will draw a black arrow to the “other worksheet” icon as shown in Fig. 476.

Gotcha: Of course, it does not tell you which other worksheet has a dependent.

Advertisement

Additional Details: If you immediately invoke Tools – Formula Auditing – Trace Dependents, Excel will draw arrows from each of the dependent cells to their dependent cells. In Fig. 477, D4 is used to calculate H4. H4 is then used to calculate D15 and H20.

If you immediately ask to Trace Dependents several times in a row, you will see all of the formulas that would change to #REF! if you delete cell C4.

Advertisement

You also have a big mess on your spreadsheet! To get rid of all arrows, choose Tools – Formula Auditing – Remove All Arrows.

Additional Information: If you think that there are no cells that use the current cell and you are right, then Excel will give you thes message shown in Fig. 478.

Advertisement

Summary: To determine if a cell can be deleted without affecting any other formulas, select the cell, and then select Tools – Formula Auditing – Trace Dependents.

Commands Discussed: Tools – Formula Auditing – Trace Dependents

Advertisement

See all Microsoft Excel tips

Images

Fig. 475

Advertisement

Fig. 476

Fig. 477

Advertisement

Fig. 478

References and Additional Resources

If you’re looking for more tips and tutorials, check out 91 Tips for Calculating With Microsoft Excel . This collection of easy-to-follow guides shows how to customize charts and graphs, different ways to make complex spreadsheets easier to update, and even how to play games like Craps in Excel.

Advertisement

Other Resources:

Microsoft Excel Official Site, https://office.microsoft.com/en-us/excel/

Advertisement

Bill Jelen, Microsoft Excel 2010 In Depth, Available from Amazon.com .

Keep Exploring

More from Money

Filed under
Home Business
More topics
Software
Advertisement