Getting really confused with making Advanced Filter do what I want

RockandGrohl

Well-known Member
Joined
Aug 1, 2018
Messages
801
Office Version
  1. 365
Platform
  1. Windows
Third time's a charm...

Let's say I have a set of data as below:



Brochure_RegionLast_BookedOptIn_NH_LandMailFamilyFunUKSportsEventsEUShowtime
B1
42803​
1​
1​
3​
0​
0​
0​
0​
A6
42721​
1​
1​
0​
0​
0​
1​
0​
C2
43808​
1​
1​
1​
0​
0​
0​
0​
C3
42480​
0​
0​
1​
1​
0​
0​
0​
A6
43582​
1​
2​
19​
0​
3​
1​
0​
A3
43566​
0​
0​
0​
3​
0​
0​
0​
A5
43797​
1​
1​
2​
0​
1​
0​
0​
A3
43649​
1​
2​
9​
0​
4​
1​
3​
A3
43728​
1​
3​
15​
3​
2​
35​
1​
A3
44243​
0​
2​
1​
0​
0​
0​
0​
A3
43554​
1​
0​
49​
2​
1​
0​
7​
A6
43936​
1​
1​
0​
0​
0​
0​
0​
A3
42978​
1​
1​
0​
0​
0​
0​
0​
A5
42475​
1​
2​
3​
0​
0​
0​
0​
C2
42463​
0​
0​
0​
1​
0​
0​
0​
C2
43526​
1​
1​
0​
0​
0​
0​
0​
A3
43510​
1​
0​
0​
1​
0​
0​
0​
A5
43601​
1​
1​
0​
0​
0​
0​
0​
A3
43311​
1​
2​
0​
0​
0​
0​
0​
C2
43159​
1​
1​
0​
0​
0​
0​
0​
B1
43400​
1​
0​
0​
0​
0​
0​
A3
43796​
1​
1​
4​
0​
0​
0​
2​
B1
43351​
0​
1​
1​
0​
0​
0​
0​
B1
43881​
1​
1​
6​
0​
1​
2​
0​
A5
42587​
1​
1​
0​
0​
0​
0​
0​
C1
43430​
1​
2​
0​
0​
0​
0​
0​
D2
43836​
1​
1​
4​
0​
0​
3​
0​
A3
42565​
0​
1​
0​
0​
0​
0​
0​
A2
43661​
1​
0​
0​
3​
0​
0​
0​

What I want to do this the follow with an advanced filter:

I want to see people who have bought either "FamilyFun" or "Sports", which I can do like this:



FamilyFunFamilyFunSportsSports
>0<1000
>0<1000

Now, what if I want to see the following:

Brochure_Region <>0
Last_Booked >42000
Last_Booked <44000
OptIn_NH_LandMail <>0

And then on top of that, show me people who have bought either Family Fun or Sports?

If I do this, it does not filter anything.

Brochure_RegionLast_BookedLast_BookedOptIn_NH_LandMailFamilyFunFamilyFunSportsSports
<>0>42000<44000<>0
>0<100
>0<100

I hope this makes sense - there's kind of a "top line" filter that's happening, which I want to happen over and above anything else. Then, filter the product categories on an "or" basis.

Cheers.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
If all 3 are meant to be OR then what you have is correct. However based on your comment I assume its not what you intended.
If you want the 1st 4 criteria to apply to Family Fun & Sports then its AND and not OR.
You would need to repeat the criteria you currently have on the 1st row on both the 2nd and 3rd row and then delete the 1st row.
 
Upvote 0
If all 3 are meant to be OR then what you have is correct. However based on your comment I assume its not what you intended.
If you want the 1st 4 criteria to apply to Family Fun & Sports then its AND and not OR.
You would need to repeat the criteria you currently have on the 1st row on both the 2nd and 3rd row and then delete the 1st row.

Brochure_RegionLast_BookedLast_BookedOptIn_NH_LandMailFamilyFunFamilyFunSportsSports
<>0>42000<44000<>0>0<100
<>0>42000<44000<>0>0<100

Like this?

I'll give that a whirl, but that does look like it makes sense yaknow...
 
Upvote 0
You might want to look at using formula criteria.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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