OR Statement with FILTER

onthegreen03

Board Regular
Joined
Jun 30, 2016
Messages
148
Office Version
  1. 365
Platform
  1. Windows
I am using a basic FILTER command (see below) which is working great. How can I convert the formula using OR so the result can be equal to $C$2 from the list in column B (Market Assessment tab), or the word "Portfolio" from that same list (same tab)? Said a different way, it would be filter list and return if equal to $C$2 or "Portfolio".

=FILTER('Market Assessment (2.3)'!$B23:$B34,'Market Assessment (2.3)'!$B$23:$B$34=$C$2)
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try:

Excel Formula:
=FILTER('Market Assessment (2.3)'!$B23:$B34,('Market Assessment (2.3)'!$B$23:$B$34=$C$2)+('Market Assessment (2.3)'!$B$23:$B$34="Portfolio"))
 
Upvote 0
Solution
Probably a better way but try this.

=FILTER('Market Assessment (2.3)'!$B23:$B34,(--('Market Assessment (2.3)'!$B$23:$B$34=$C$2)+(--('Market Assessment (2.3)'!$B$23:$B$34="Portfolio"))))
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,755
Members
448,989
Latest member
mariah3

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