Org chart

22strider

Active Member
Joined
Jun 11, 2007
Messages
311
Hello Friends

I have a table that looks like as given under

Employee Manager
E100
E105 E100
E110 E105
E115 E110

As you can see that E100 is manage of E105; E105 is the manager of E110 and E110 is the manager of E115. Is there any way (SQL script may be) for getting the organization chart from this table? Basically I want to display who is directly or indirectly reporting to E100.
Having is third degree of reporting (E110 is also kind of under E100) is throwing me off.

Thanks for you help
Rajesh
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Why don't you use Word or PowerPoint with the Organisational Chart?
 
Upvote 0
Well Trever there are other reports that will be generated once I figure out how to display all the org reports. I know I can use self join to display one level of reports. It's the second and third level that I need to figure out.
Thanks for your response
 
Upvote 0
Hello Alan

Thanks for your message. Probably I was not clear in my initial post. I am looking for query result that would display the chain of command.
For example if I want to display all the employees that direcly or indirectly report to E100. Result of my query should be list of employees E105, E110 and E115.
Even though E110 and E115 are not directly reporting to E100. But they are reporting to manager(s) that are reporting to E100.

Thanks
Rajesh
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,239
Members
452,898
Latest member
Capolavoro009

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