Solved

# Reverse Hierarchy

Posted on 2014-04-11
192 Views
Hello,

I created a natural hierarchy based off of an employee and supevisor ID.  The hierachy rolls all the way up to the highest level (see columns L - S).

How could I create a hierachy that would roll from the highest position to the lowest level manager (see columns U - AA)
Reverse-Hierarchy.xlsx
0
Question by:ablove3
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• Learn & ask questions

LVL 22

Accepted Solution

Ejgil Hedegaard earned 215 total points
ID: 39994427
Use this formula in AD4

``````=IF(8-COUNTIF(\$L4:\$S4,"")-COLUMN()+COLUMN(\$AD\$3)>0,INDEX(\$L4:\$S4,1,8-COUNTIF(\$L4:\$S4,"")-COLUMN()+COLUMN(\$AD\$3)),"")
``````

Copy across and down
0

Author Closing Comment

ID: 39994693
That's an amazing formula.  It did exactly what I needed it to do.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
###### Suggested Courses
Course of the Month7 days, 23 hours left to enroll

#### 737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.