How to use Filter function with and/or criteria

helpneeded2

Board Regular
Joined
Jun 25, 2021
Messages
110
Office Version
  1. 365
Platform
  1. Windows
I am new to the FILTER function and I have not been able to find a way to filter for data with multiple conditions.

Here is the syntax of my current filter, which does not appear to be correct syntax:
Code:
=FILTER(ALL!A2:BV26415,OR(ALL!AO2:AO26415="Not Rated",AND(ALL!AM2:AM26415="No",OR(ALL!AO2:AO26415="High",ALL!AO2:AO26415="Medium",ALL!AO2:AO26415="Low"))))

I am trying to filter my data only if 1 of these 2 conditions are met:
- Column AO data is = "Not Rated" (OR)
- Column AM is "No" AND Column AO is "High", "Medium" or "Low"

Can someone please advise if this is possible with the filter function.

Thank you.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
How about
Excel Formula:
=FILTER(ALL!A2:BV26415,(ALL!AO2:AO26415="Not Rated")+((ALL!AM2:AM26415="No")*((ALL!AO2:AO26415="High")+(ALL!AO2:AO26415="Medium")+(ALL!AO2:AO26415="Low"))))
 
Upvote 0
Solution
How about
Excel Formula:
=FILTER(ALL!A2:BV26415,(ALL!AO2:AO26415="Not Rated")+((ALL!AM2:AM26415="No")*((ALL!AO2:AO26415="High")+(ALL!AO2:AO26415="Medium")+(ALL!AO2:AO26415="Low"))))

Okay, I see how that is supposed to work now. Thank you for this.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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