+ Reply to Thread
Results 1 to 5 of 5

Excel Hierarchy

  1. #1
    Registered User
    Join Date
    01-02-2013
    Location
    NY
    MS-Off Ver
    Excel Office 365
    Posts
    49

    Exclamation Excel Hierarchy

    I have some data found here: https://1drv.ms/x/s!AktAOe8JUNECiKkS...X5GdQ?e=eYGYBa

    Column A is the PARENT with 00000000 the TOP value.

    Looking at the data in column B, we see 00000000 has many 2nd level values. Looking at the first 2nd level, 00000004, we then look that up in COLUMN A. No more values, so that one ends.

    00000000 -> 00000004

    The next one in Column B is 00000412. Looking that up in COLUMN A, we see it has 52 2nd level values. Then looking up those values, we get 3rd level and so on.

    We start seeing how it builds.

    LEVEL 1 LEVEL 2 LEVEL 3 LEVEL 4 LEVEL 5 LEVEL 6 LEVEL 7
    00000000 00000004
    00000000 00000412 00000026 00014616
    00000000 00000412 00000034 00000029 00000009 00003415
    00000000 00000412 00000034 00000029 00000012
    00000000 00000412 00000034 00000029 00004491 00000010 00003416
    00000000 00000412 00000034 00000029 00004491 00000010 00014419
    00000000 00000412 00000034 00000029 00004491 00000011
    00000000 00000412 00000034 00000031
    00000000 00000412 00000034 00013412
    00000000 00000412 00000037 00000024
    00000000 00000412 00000037 00000025
    00000000 00000412 00000037 00000028 00007142 00014412
    00000000 00000412 00000037 00000033 00000012
    00000000 00000412 00000037 00000033 00000014 00000015
    00000000 00000412 00000037 00000033 00000020
    00000000 00000412 00000037 00000035 00000036
    00000000 00000412 00000037 00000035 00014412
    00000000 00000412 00000037 00003368
    00000000 00000412 00000037 00004615
    00000000 00000412 00000037 00004732
    00000000 00000412 00000037 00013604
    00000000 00000412 00000074 …
    00000000 00000412 00000154 …
    00000000 00000412 00000214 …

    How can I automate this? Is it possible? Should it be done in something else, such as PowerBI?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Excel Hierarchy

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    01-02-2013
    Location
    NY
    MS-Off Ver
    Excel Office 365
    Posts
    49

    Post Re: Excel Hierarchy

    Sample File added, as requested above.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Excel Hierarchy

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    01-02-2013
    Location
    NY
    MS-Off Ver
    Excel Office 365
    Posts
    49

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mapping in excel across columns (hierarchy)
    By Hemanth Raja in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-14-2018, 12:21 PM
  2. How do I convert column hierarchy to flat file hierarchy
    By tbucki1 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 09-21-2016, 09:33 PM
  3. [SOLVED] Getting Pivot Table Hierarchy Using Excel VBA
    By NeedForExcel in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-04-2016, 12:26 AM
  4. Create Hierarchy in Excel
    By rajeshkamath27 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-19-2008, 11:44 AM
  5. Hierarchy in excel
    By jamshaggy in forum Excel General
    Replies: 1
    Last Post: 07-23-2006, 03:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1