+ Reply to Thread
Results 1 to 6 of 6

Group by rows when the cell is not empty

  1. #1
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Unhappy Group by rows when the cell is not empty

    Hi there, I am hoping someone could help me please , I want to create a macro where I can group by rows when the cell is not empty, see attach file that from column C to N there is number from 1 to 12 and I want to group it when there is a each word found starting column C . How can I achieve this??thank you so much
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,168

    Re: Group by rows when the cell is not empty

    You need to explain some more. Maybe attach a sample output file.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Group by rows when the cell is not empty

    Kindly refer to "Actual Output grouping 3level" tab for sample. If you notice in row 1 it has numbering which correspond on how many groupings will be done.Hope you understand me

  4. #4
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Group by rows when the cell is not empty

    I just need to select/highlight the empty cell from column D and perform group/ungroup
    Last edited by emina002; 03-20-2013 at 09:33 PM. Reason: Duplicate

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,168

    Re: Group by rows when the cell is not empty

    I am not able to understand your question. Maybe you can try explaining in a different way.

  6. #6
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Group by rows when the cell is not empty

    Ok I have the code already to group and ungroup each column, and groupings level has a limit of 8 or 7 only. Here is the workbook try to run macro 1st group the column C and D, when I group the Column E,Column D became messy. If you notice the column D after you run the macro to group column E, the blank above the word "Total Assets" also include to groupings so when,ok I don't know if you get my point since it is hard to explain this problem,and this I do have the macro code so I think you get it now? Thank you
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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