+ Reply to Thread
Results 1 to 4 of 4

Grouping of child parts and sun in Parent in Hierarchy -Multilevel

  1. #1
    Registered User
    Join Date
    07-14-2021
    Location
    India
    MS-Off Ver
    2019 Professional plus
    Posts
    2

    Grouping of child parts and sun in Parent in Hierarchy -Multilevel

    Hi

    Traying to nail the problem on hierarchy i.e grouping and adding of child quantity in respective parent with Hierarchy of maximum level 4. Also want to connect result in power view ( Not using power BI ) so need to remove blanks in view

    Hope for results
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    18,600

    Re: Grouping of child parts and sun in Parent in Hierarchy -Multilevel

    Hello kapil D and Welcome to Excel
    This proposal employs four helper columns which may be moved and/or hidden for aesthetic purposes.
    The helper column for level4 (M) is populated using: =IF(F4<>"",$G4,"")
    The helper columns for levels 1:3 (J:L) are populated using: =IF(AND(C4<>"",$G4=""),SUMIFS(K$4:K$14,D$4:D$14,"<>"),IF(C4<>"",$G4,""))
    The Result column (H) is populated using: =SUM(J4:M4)
    I have never used Power View, so I can not help there.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    07-14-2021
    Location
    India
    MS-Off Ver
    2019 Professional plus
    Posts
    2

    Re: Grouping of child parts and sun in Parent in Hierarchy -Multilevel

    Really appreciable efforts for fixing issue . satisfied lots of time saving

    I will build logic as follows

    For function IF(AND(C4<>"",$G4=""),SUMIFS(K$4:K$14,D$4:D$14,"<>"),IF(C4<>"",$G4,""))
    Logic considered as IF ( Check both condition of C4 is Non blank ,and G4 is blank , true= siumifs ( Sum of column K (Child range in level 2 ), with Criteria of Column D ( Level 2 ) ,with criteria anything ( "<>")) ) ) , for False ( if C4 is Non blank, True = G4, False =Blank )

    Hope Understood correct for Sumifs Crteria

    Checking result in Power view

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    18,600

    Re: Grouping of child parts and sun in Parent in Hierarchy -Multilevel

    Yes, your interpretation of the logic seems to be correct.
    Please show us the file with Power View if possible, as it may help those whom want similar results in the future.

+ 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. parent and child reports with vba
    By jondidi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-18-2019, 10:42 PM
  2. [SOLVED] Parent Child relationship issue: Get parent ID for child
    By masterl1983 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-28-2018, 07:35 AM
  3. [SOLVED] Looking up all the child values associated with one parent value
    By cwwazy in forum Excel General
    Replies: 7
    Last Post: 08-03-2015, 04:09 PM
  4. [SOLVED] Parent child relationships(working out parent item) for each item
    By grphillips in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2013, 05:58 AM
  5. Parent Child Relationship
    By Automation Guru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-02-2013, 04:48 AM
  6. Sorting Parent Child
    By kcmtnbiker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-30-2006, 09:00 PM

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