Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 925

Excel parent child hierarchy

$
0
0

I have some data and I need to create a hierarchy of data.

prdCode is the child and the ID;

prdParent shows the parent of the data;

prdLevel show what level the data must be at. 0 is the top.

I need the result to be go from this:

Child | Parent

Data A | Data B1

Data A1 | Data A

Data B1 | Default

to this:

Data B1 Data A  Data A1

I need a solution preferably using formula.

The tree can go 5 levels deep

Data image


Viewing all articles
Browse latest Browse all 925

Trending Articles