Pivot Table "Show Details" Trick - How to do for all Filters

taybomb

New Member
Joined
Jun 2, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Good afternoon all,

I have a task at hand where I have a large data set (let's call it 50k lines by 15 columns to make it easy). I need to separate that data set into new worksheets/files (either, or) based on the value of one of the columns in that data set. The easiest way I've been able to do it is by making a pivot table, filtering a value, and then double clicking the "Grand Total" at the bottom. Then I change the filter and repeat. There are about 50 different values in that one column, so I end up doing this ~50 times. Is there a macro or something that can do this automatically?

I have seen a few macro codes out there, but they're not giving me all the different values and only doing one at a time when I run them.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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