IF(OR/AND) Formula

zinah

Active Member
Joined
Nov 28, 2018
Messages
368
Office Version
  1. 365
Platform
  1. Windows
Hi,

I was trying to use IF, AND, OR formula to build the condition below but I'm not sure why it's not working.

The condition should be: if Category is high or Critical and Status is Express then it's TRUE, otherwise False. The results column is the desired results.

[TABLE="width: 250"]
[TR]
[TD]Category[/TD]
[TD]Status[/TD]
[TD]Results[/TD]
[/TR]
[TR]
[TD]High[/TD]
[TD]Regular[/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
[TR]
[TD]High[/TD]
[TD]Express[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD]Critical[/TD]
[TD]Express[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD]Medium[/TD]
[TD]NA[/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
[TR]
[TD]Critical[/TD]
[TD]Regular[/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
[TR]
[TD]Not Specified[/TD]
[TD]Express[/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
[/TABLE]
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
How about
=IF(AND(OR(A2={"High","Critical"}),B2="Express"),TRUE)
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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