Outline (Grouping) Level change causes incorrect filter selection

Simon_D

New Member
Joined
Jun 26, 2018
Messages
7
Issue summary

When you change from one level of ROW Grouping to another (drilling in or out) - the filter selection remains the same, but is not reflecting in the data that shows. You have to click back into the filter (change nothing) and then it will display

Issue Detail

Data - Autofilter is appliedData has 4 levels of Row grouping (at the top left hand of worksheet there are boxes numbered 1 to 5)
"Include" column in the worksheet which is filtered on "Y"
Every single row of data has either "Y" or "N" in the Inlcude column
Data is set to AUTO calculation.

1. Say you are viewing the data at level 3 of row grouping; if i select "Y" in the inlclude column it correctly shows the ROWS according to the filter

2. If i now change the grouping (for example by clicking the 2 'box/button' in the top left)...

3. Even though the filter is still only selecting "Y" - it shows rows that are also "N"

4. If i click back in the filter column (and do nothing) and then click away....

5. It [magically] shows the correct results again

Non VBA Solution (preferred)

What might be the cause and workaround for this ?

VBA solution

If no solution without VBA....

is there a way to use grouping selection change as the trigger for a macro that refilters the column exactly as it is
I have kept the example simple above for explanation purposes - but it actually wont be "Y" or "N" - it will be 5 different entries such as A,B,C,D,E.

Thank you in advance
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,215,054
Messages
6,122,897
Members
449,097
Latest member
dbomb1414

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