Autofilter on multiple rows

easyexcel

New Member
Joined
Dec 21, 2004
Messages
3
Hi I am trying to autofilter the following sheet with my data seperated by blank rows and new subgroup headings. Autofilter just works on one of the groups. Adding more rows of autofilter is denied by excel. Anyone has a solution? Thanks.
Below is a snapshot of my sheet. If I put an autofilter on teh row that reads "Services", the autofilter results are only performed on that "Services" subgroup and does not affect the "Pharmaceutical" subgroup. Adding an extra autofilter on the row of "Pharmaceutical" removes the one of "Services" row.

Services, total count: 56
9792 JP 9792 1,190
ABCO US ABCO 633
ALGN US ALGN 633
PDCO US PDCO 6,298
SYD US SYD 1,384

Pharmaceuticals & Specialties, total count: 41
NOVN VX NOVN 131,704
2784 JP 2784 1,287
4543 JP 4543 5,688
JNJ US JNJ 186,284
4151 JP 4151 3,131
4501 JP 4501 9,638
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

vconfused

Well-known Member
Joined
Jun 11, 2004
Messages
547
I'm sure a code-based solution would be possible, but it would take a little more setting up (using combo boxes rather than AutoFilter, etc. If you want this, could you provide some more details of your setup (i.e. what columns are being used, is there Grouping set up using the Data->Group and Outline, etc.)?

Otherwise, could you put each group of data on its own sheet?
 

Forum statistics

Threads
1,147,688
Messages
5,742,627
Members
423,744
Latest member
bkirtland

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
Top