Reporting Line Analysis

crimsoneaglet

New Member
Joined
Nov 23, 2015
Messages
6
This is either a very easy question or a very hard one, I'm not sure which.

What I have is a list of people and then alongside that, a list of the people who that person reports to. What I want to know is how many people cumulatively report into each person, including those who report into those who report into them. Example below where because Person B, C and D report to Person A, and everyone else reports to them, the number of reports Person A has is actually 25, not 4.
Employee
Manager
Person A
Super Boss
Person B
Person A
Person C
Person A
Person D
Person A
Person E
Person A
Person F
Person B
Person G
Person B
Person H
Person B
Person I
Person B
Person J
Person B
Person K
Person B
Person L
Person B
Person M
Person C
Person N
Person C
Person O
Person C
Person P
Person C
Person Q
Person C
Person R
Person C
Person S
Person C
Person T
Person C
Person U
Person D
Person V
Person D
Person W
Person D
Person X
Person D
Person Y
Person D
Person Z
Person D

<tbody>
</tbody>

Does anyone have a solution? This is driving me mad.

Thanks!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I spent way too long trying to do this with a long formula.
Just do this:

-In column B paste your Employees
-In column C paste your managers
-In cell D2 write the formula =VLOOKUP(C2,$B:$C,2,FALSE)
-Double click the thing to autofill the formula down
-Click and drag the thing to autofill to the right. Keep going until the rightmost column is N/A's
-Somewhere else make a column of the managers you want to tally (as pictured on the right).Mine is in H
-In the cell next to the manager name use the formula =COUNTIF(C:G, H2)
-Drag it down so it tallys all your managers

Boom done.
Work smarter not harder

Edit: Obviously for the tally formula you need to use whatever column is appropriate

uWJQDsz.png
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,794
Members
449,048
Latest member
greyangel23

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