advanced filter - OR vs AND

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
Please I need your help to understand Advanced filter. In the example below, the author said to use advanced filter that means to use OR condition. and he created the criteria and found this

or-criteria-result.png



I understood all the above but what I do not understand, when I use a regular filter to filter Country to USA and UK and when I use filter to filter Quarter to Q4 and Q1. How that filter is AND ? AND what and what? and Why the above filter is considered as OR?

source:

https://www.excel-easy.com/examples/advanced-filter.html
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Let's say it's a combined filter of OR and AND


Filter the

the country USA AND also be Q4

OR

the country is UK AND also be Q1

-----------
The OR in the advanced filter you put in lines
In C2 = USA OR C3 = UK




The AND in the advanced filter you put in Columns
C2 = USA AND D2 = Q4
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,155
Members
452,615
Latest member
bogeys2birdies

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