broken keyboard
New Member
- Joined
- Oct 10, 2017
- Messages
- 8
Hi all,
I am trying to locate the "level 2" asset of each asset number in the list in Column A. A parent/child relationship is shown in Columns F & G. Not sure what the best formula to use here would be, but maybe an array? Not every asset in the hierarchy has an immediate next-level up asset associated. So, for example, an asset at level 7 may have a parent at level 3, then the level 3 asset would have a parent at level 2. The asset at level 2 is the asset I need to return. Any help on the below is much appreciated
I am trying to locate the "level 2" asset of each asset number in the list in Column A. A parent/child relationship is shown in Columns F & G. Not sure what the best formula to use here would be, but maybe an array? Not every asset in the hierarchy has an immediate next-level up asset associated. So, for example, an asset at level 7 may have a parent at level 3, then the level 3 asset would have a parent at level 2. The asset at level 2 is the asset I need to return. Any help on the below is much appreciated
Asset Hierarchy Structure.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Asset Number: | Hierarchy Level: | What is the Level 2 asset for this particular asset? | Parent | Child | ||||
2 | 765565 | 7 | 3456 | 347454 | |||||
3 | 34535243 | 7 | 347454 | 4745374 | |||||
4 | 2323256 | 7 | 4745374 | 747434 | |||||
5 | 3495 | 7 | 747434 | 353473 | |||||
6 | 94157 | 7 | 353473 | 23523 | |||||
7 | 97135 | 7 | 353473 | 235346 | |||||
8 | 53398 | 7 | 353473 | 765565 | |||||
9 | 23523 | 6 | 85654 | 436346 | |||||
10 | 235346 | 6 | 436346 | 34535243 | |||||
11 | 78333 | 6 | 68343 | 236224 | |||||
12 | 353473 | 5 | 236224 | 78333 | |||||
13 | 436346 | 5 | 78333 | 2323256 | |||||
14 | 5742 | 5 | 8523 | 86329 | |||||
15 | 747434 | 4 | 86329 | 9871 | |||||
16 | 236224 | 4 | 9871 | 3495 | |||||
17 | 4745374 | 3 | 9871 | 5742 | |||||
18 | 9871 | 3 | 5742 | 94157 | |||||
19 | 347454 | 2 | 9871 | 97135 | |||||
20 | 85654 | 2 | 5742 | 53398 | |||||
21 | 68343 | 2 | |||||||
22 | 86329 | 2 | |||||||
23 | 3456 | 1 | |||||||
24 | 8523 | 1 | |||||||
Asset Hierarchy |