+ Reply to Thread
Results 1 to 21 of 21

Error grouping rows in hierarchy.

  1. #1
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Error grouping rows in hierarchy.

    When grouping rows into groups and sub groups error occurs.There are 2 ways to do what i am doing.
    Methods-
    A.
    1. Select all rows and make it level 1
    2. Group all level 2s in level 1 (Exclude headers)
    3. What Happens -When last row of level 1 is included in a level 2 hierchy (to make last level 2). Grouped data should be in level 2 but its beyond level 3 as in the video in attachment
    4. Eg. thing in video(in zip) happens
    ----------------------------------------
    B.
    1. Group all level 2s (Exclude headers)
    2. Group all level 2 headers as level 1
    3. What Happens -Bottom most level 2 group is expanded to full column because of grouping level 1 (it merges)
    4. When all level 2 headers are selected and grouped for level 1 thing in image happens.
    -----------------------------------------------------------------------------------------------------------------------------------------------
    The reason is that excel takes the level 2 as level 1 that is expand level 2 (last one) to level 1 while data is in level 2 hierchy is in level 1 creates this error.
    You may understand the problem using methods above
    -----------------------------------------------------------------------------------------------------------------------------------------------

    One way is to add a extra row to level 1 in last and not include it in level 2.But this will break the count feaure
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Excelforum*ser_mH7; 03-12-2018 at 07:54 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Error grouping data.Pls see the attachment

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping data.Pls see the attachment

    Comment Deleted
    Last edited by Excelforum*ser_mH7; 02-26-2018 at 03:24 AM. Reason: Unnecessary quotation removed.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Error grouping data.Pls see the attachment

    Did you follow my directions?

  5. #5
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping data.Pls see the attachment

    Comment Deleted
    Last edited by Excelforum*ser_mH7; 02-26-2018 at 03:24 AM.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Error grouping data.Pls see the attachment

    If the file is that large that it needs to be zipped, then is is too large for us anyway. We dont nee your entire file, we just need a SMALL representative sample of what you are working with, and what you want

  7. #7
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping data.Pls see the attachment

    Comment Deleted
    Last edited by Excelforum*ser_mH7; 02-27-2018 at 08:09 PM.

  8. #8
    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,980

    Re: Error grouping data.Pls see the attachment

    That's probably because your post count has increased - I think that may prove my suspicion about the new restrictions in place here.
    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.

  9. #9
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping data.Pls see the attachment

    How to delete comments I want to delete comments irrelevant to this question for futer question askers
    Last edited by Excelforum*ser_mH7; 02-27-2018 at 08:09 PM.

  10. #10
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping data.Pls see the attachment

    Please help me Attachment is now uploaded
    Last edited by Excelforum*ser_mH7; 03-12-2018 at 12:29 AM.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Error grouping rows in hierchy.

    Excelforum*ser_mH7 please do not just delete your posts - they probably show relevance to other posts, but there is now no way to determine that

  12. #12
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping rows in hierchy.

    In this happening in 2016,2010,2007

  13. #13
    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,980

    Re: Error grouping rows in hierchy.

    Attach the workbook, or a cut-down version of it that displays the problem. NOT a video!!!

  14. #14
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Error grouping rows in hierarchy.

    Just to bump this back to the top for the OP

  15. #15
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping rows in hierarchy.

    Please Help better wordings now 12thmarch2018

  16. #16
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping rows in hierarchy.

    Please Help

  17. #17
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping rows in hierarchy.

    Please Help

  18. #18
    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,980

    Re: Error grouping rows in hierarchy.

    You have not yet attached the workbook.

  19. #19
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping rows in hierarchy.

    Here it is

    Method A and B are explained in Question (https://www.excelforum.com/excel-gen...hierarchy.html)
    Attached Files Attached Files

  20. #20
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping rows in hierarchy.

    Pls help now worksheet is added

  21. #21
    Spammer
    Join Date
    02-21-2018
    Location
    England
    MS-Off Ver
    Excel 2016(&2010,2007), Word 2016 (&2010,2010)
    Posts
    141

    Re: Error grouping rows in hierarchy.

    How to delete replie there are many useless replies by me on this thread

+ 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. 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
  2. Hierarchy Grouping
    By leviathan86 in forum Excel General
    Replies: 3
    Last Post: 02-13-2015, 03:58 PM
  3. hiding unhiding rows macro hierarchy
    By dgibney in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 11-19-2014, 01:44 PM
  4. Grouping staff hierarchy in xls
    By PdK77 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2013, 04:18 PM
  5. Grouping rows as hierarchy in vba
    By Jaymerry in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-30-2011, 04:26 AM
  6. Grouping cells as hierarchy
    By maximpinto in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2009, 02:38 AM
  7. How to produce Grouping based on hierarchy list?
    By masai_chadi in forum Excel General
    Replies: 10
    Last Post: 10-06-2006, 10:57 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