how do i see which cells / columns have dependents?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
840
Office Version
  1. 2013
Platform
  1. Windows
A lot of the cells in one of my worksheets are irrelevant. I'd like to know which ones I can skip filling in in the future. At the moment if it's worth it I click on a cell in each column and click on Dependents. That does the job but of course it's not ideal.
Is there a way to see all the dependents?
I'm confused as to why Microsoft didn't just enable this ability to highlight a range and click Dependents and all of them show up.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Interesting coincidence. Just this morning I wrote a quick macro to do just that.

Open a copy of your workbook. Press Alt-F11 to open the VBA editor. Press Alt-IM to Insert a Module. Paste the following code into the window that opens:

VBA Code:
Sub FindDependents()
Dim c As Range

    ActiveSheet.ClearArrows
    For Each c In ActiveSheet.UsedRange
        c.ShowDependents
    Next c

End Sub

Press Alt-Q to close the editor. Go to the sheet you want to check. Press Alt-F8 to open the macro selector. Choose FindDependents and click Run.
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top