+ Reply to Thread
Results 1 to 8 of 8

Trying to make a Parent row with Children Rows?

  1. #1
    Registered User
    Join Date
    03-25-2021
    Location
    Palm Springs
    MS-Off Ver
    2016
    Posts
    5

    Trying to make a Parent row with Children Rows?

    Hello! I have to make a chart with all items by a specific vendor. My manager would like a chart that can be sorted, but would also like different variations of the items.

    what I have for my headers

    Item Number, Item, BOH, Cost, Total, Category

    example

    23729, 15 PC Bath set, 0, $5.50, $0.00, Bathroom
    43392, 3 PC Bath Set, 0, $5.50, $0.00, Bathroom
    53943, Carmella 5x8, -4, $52.00, -$208.00, Rug
    53944, Dier Debwan 5x8, 7, $40.00, $280.00, Rug

    Now I have made a chart from that and so all the columns can be sorted, my issue is now I have sheets and different colors of sheets.

    Example

    12345, Queen Sheet Set, 0, $5.50, $0.00, Bedroom
    White
    black
    blue
    green
    12346, King Sheet Set, 0, $5.50, $0.00, Bedroom
    White
    black
    purple
    orange

    My Manager wants the colors separated as you can see above. But each color would be its own row. Is it possible to lock the color rows to the parent, so when I sort the whole spread sheet the colors will stay below the sheet row to which they belong?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,194

    Re: Trying to make a Parent row with Children Rows?

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    03-25-2021
    Location
    Palm Springs
    MS-Off Ver
    2016
    Posts
    5

    Re: Trying to make a Parent row with Children Rows?

    ok! I believe the attachment should work now
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,194

    Re: Trying to make a Parent row with Children Rows?

    1. Convert the range to a structured Table.

    2. Use this to infill the two columns with gaps:
    G2:
    =IF(B2="","",LOOKUP(10^300,A$2:A2))

    H2:
    =IF(B2="","",LOOKUP("Zzzz",F$2:F2))

    Tidy up the formula in E2:
    =IF(B2="","",D2*C2)

    now... sort the table using columns G & H instead of A & F (these can be hidden, if you wish). Everything stays where it should.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-25-2021
    Location
    Palm Springs
    MS-Off Ver
    2016
    Posts
    5

    Re: Trying to make a Parent row with Children Rows?

    ahh! thank you!!

  6. #6
    Registered User
    Join Date
    03-25-2021
    Location
    Palm Springs
    MS-Off Ver
    2016
    Posts
    5

    Re: Trying to make a Parent row with Children Rows?

    ahh! thank you!! Do you know if there is an instructional video/webpage? I would like to learn how to do this, and know what all the formulas mean

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,194

    Re: Trying to make a Parent row with Children Rows?

    Hahaha. No idea. You can search YouTube for a long time before finding anything useful, I think....

    However, by way of explanation..


    =LOOKUP(10^300,A$2:A2) is looking down the column one cell at a time, for the number 10^1300 (10 with 300 zeros after it). It doesn't find it and gives, up... returning the last number it did see, as a default. So any gaps are infilled by the last number in column A.

    Same same for this:

    =LOOKUP("Zzzz",F$2:F2) where its looking for the word Zzzzz. Again, since it doesn't find it, it gives up and returns the last one it did see.

    the other bits are there to ensure that blanks are returned when there are no values. when you add new rows to the table, the table should increase in size and the formulae should copy down automatically.

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

  8. #8
    Registered User
    Join Date
    03-25-2021
    Location
    Palm Springs
    MS-Off Ver
    2016
    Posts
    5

    Re: Trying to make a Parent row with Children Rows?

    thank you for all your help!! that makes my life so much easier, and now knowing what it does I can use it without being blinded by questions haha.

    thank you!!!!!

+ 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. Replies: 4
    Last Post: 08-19-2020, 02:19 PM
  2. Sum children elements into parent element
    By ashraf777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-19-2016, 11:10 AM
  3. Need a MACRO to automate Parent SKU creation for groups of children SKUs
    By Michaelsgoldman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2015, 02:38 PM
  4. Change "Parent" cell based on results of multiple "Children" cells
    By ccowman in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-14-2012, 02:33 AM
  5. i need to make a potty log sheet for the children at my job what
    By kate in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-17-2006, 02:15 PM
  6. [SOLVED] XML / parent with multiple children and with multiple children
    By Richard in forum Excel General
    Replies: 0
    Last Post: 01-05-2005, 08:06 AM

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