Ungrouping just part of a group in a pivot table

benjtp

New Member
Joined
Dec 6, 2022
Messages
19
Office Version
  1. 365
  2. 2003 or older
Platform
  1. Windows
Hi,

I have grouped hundreds of items into different groups based on different parameters. For example all products that have to do with paper, all ones that have to do with pens etc.
I therefore have product group and product group 2.
However, I need to remove one of them to essentially make it a separate group.
The only way I have managed to do so is to start over by ungrouping everything. Redoing it will take me hours. There must be a better solution than that.
Thanks in advance.
 
Yes, you can select all the other items in the group and regroup them. That will create them as one group and your single item as its own group.
 
Upvote 0
Solution

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
You just need a two column table somewhere with the product group in the first column and the parent group in the second column. Then it's a simple =vlookup(product group, product group table range, 2, false) or, if you can sort the lookup table and be sure that all the groups are in there, you can use the faster form =vlookup(product group, product group table range, 2)
Hi, I'm still not fully understanding this. I have let's say 100 different named products and want to group them into one single group. The same for another 50 etc. How do I go about making this vlookup.
Thanks so much
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,099
Members
449,205
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top