Filters and Group

CookieMonster76

Board Regular
Joined
Apr 30, 2015
Messages
195
Hi

I have a report i run, which has a header row, which totals the (say) 5 rows underneath, before a new header totalling the next (say) 3 rows. Each section is grouped so initially only shows the TOTAL rows, but can be ungrouped to show the lines which make up the totals.

Cole C has a formula to say "show" if Col B is not zero, and "Hide" if it is is zero, but when I apply the grouping it removes that filter, so that when I ungroup it again it shows everything. Is there a way so that when I ungroup it only shows the rows which say "Show" in Col C (Either dierectly or applying some code somewhere)?

ColA Col B Col C

TOTAL 1 100
A 20 Show
B 40 Show
C - Hide
D 40 Show
E - Hide
TOTAL 2 50
F 40 Show
G - Hide
H 10 Show

Thanks

Paul
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
What version of Excel are you using?

How do you perform the "group/ungroup" functions?

How do you determine what rows make up the Totals rows?
 
Upvote 0

Forum statistics

Threads
1,215,390
Messages
6,124,669
Members
449,178
Latest member
Emilou

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