Create org hierarchy in Pivot tables - i am SURE it can be done but i dont know how :(

glm_27883

New Member
Joined
Apr 13, 2015
Messages
3
Hello everyone

I THINK pivot tables are my answer....but I don't know how to make them work in the way I want :confused: . I am using Excel 2013 on Windows 8.1

I have a database of raw information and essentially I want to be able to produce a Org Structure in a table on a new sheet:
- far left column (eg A)would hold the most senior person,
-column B would hold their direct reports,
-column C would then hold team members (1 row per person in each column). Does that make sense? (I will have approx. 4-6 columns in the 'output org structure' but this principle remains)

In terms of the raw data, I have one large worksheet with:
-one row per person in the organisation (so >10,000 rows....)
-columns include person name, hierarchy level, unique ID, supervisor unique ID, supervisor name

There are more but I think this might be enough (if its not please say and i'll list the other columns)

Is anyone able to help? Let me know if more information is required - apologies in advance if its a poor question
Thank you!

Gavin
 

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.
assuming that you don't have a numerical hierarchy already, I would guess that the boss is 1, direct reports become 2 etc, though I can't envisage how 10,000 would fit on one sheet. quite a bit of manual work though.
You did say you have hierarchy level so can that be twisted to form a down number system

In your pivot, put that number level first
 
Upvote 0
Thanks for the reply - yes 1 = CEO, 2 = Leadership team etc etc...all the way down to about 10.
I wont be wanting the output org chart for 10,000 - I want to be able to create one for a segment eg if I know the manager at level 5 I can create the org chart under him/her...

Not totally sure I follow your comment...I do indeed have a 'hierarchy' column....not sure what you mean 'put that number level first'...sorry/...its Monday...maybe my brain is taking longer to engage :)
 
Upvote 0
in your new pivot, use you hierarchy column to set the order, names in next column, although you could just sort the data by that column, lowest to highest and not even use a pivot
 
Upvote 0
Hi Friends,

I also have same issue. but i didnt understand the solution. please can you explain.

Thanks in advance.
Suresh
 
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,212
Members
449,214
Latest member
mr_ordinaryboy

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