How to Get indirect and direct reportees of Manager in excel

hymanjali

New Member
Joined
May 5, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hello,
I have a data set for my organization.
Column A, employee id
Column B, employee name
Column C, manager id
Columd D, manager name

this data goes all the way from bottom of org up to VP.
Example:
Empid Name manager id manager name
123. Bob Y 444. Rick
111 Jim Z Rick Y 444
222 Tim A Rick Y 444
444 Rick Y Tessa A 555
555 Tessa A Mary B 888
666 Dru F Mary B 888
777 John Q Mike A 999
I'd like to know if there is a way using formulas to get a report that would give me all of the people that report under a certain individual including the indirect reports. So if I was to select a director, it would give me all managers, supervisors, leads, etc... under that director. so in the case above, if I picked Mike A I would get back John Q but if I Picked Mary B, Id get back everyone else.
I've looked for a few hrs in the forum and not sure this has been asked before.
just need a list of names.
any suggetsions? I'd prefer formulas to do this as I'm not that great in VB.?
 

Attachments

  • data.jpg
    data.jpg
    78.1 KB · Views: 56

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,215,086
Messages
6,123,043
Members
449,092
Latest member
ikke

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