• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Group/UnGroup (+/-)with one click

ex123

New Member
Hi all,

Attached is a sample of data that I want to group it by ID number. My data has more than 1000 rows. And it take me too long to group by row for each ID. Is there a macro code that can help me group them all by ID number with one click? Thanks
 

Attachments

  • Book1.xlsx
    8.6 KB · Views: 4
Just turn the data into a table and group/filter anyway you want.
 

Attachments

  • Copy of Book1.xlsx
    16.2 KB · Views: 2
Thank you for your response. This is filter. And I want to view it as group not filter and I do not want to spend time to group for each ID. I am thinking a macro to help me automatic group for each ID.
 
What group operation do you need? Avg. Sum etc.

Highlight entire data set and go to Data tab. Click on Subtotal and choose calculation option.
 
What works as you want, others may have a similar problem and would like to know the answer.
 
Back
Top