Passing multiple conditions

clandestino800

New Member
Joined
Mar 14, 2021
Messages
20
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Dear all,

I am trying to pass several conditions depending on cell values
If B2 >=1 and F2>=1 = OK
IF B2>=1 and G2>=1 = Error
IF B2>=1 and C2>=1 = Open

Is there a way to get the "Status" with IF/AND & OR in cell H2

Screenshot 2023-08-15 at 23.21.42.png


I'll be grateful for any tipps or recommendations
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi,
yes, What do you want the output to be if more than one of c,d,e or F is >1?
For your example"
Excel Formula:
If(B2 >=1,IF(F2>=1,"OK",IF(G2>=1,"Error",IF(C2>=1,"Open","Pending")))

This will prioritise in order of F, G then C.
 
Upvote 0
Hi,
yes, What do you want the output to be if more than one of c,d,e or F is >1?
For your example"
Excel Formula:
If(B2 >=1,IF(F2>=1,"OK",IF(G2>=1,"Error",IF(C2>=1,"Open","Pending")))

This will prioritise in order of F, G then C.
Hi Rondeondo,

thank you very much for your prompt reply. Prioritising got me to the result I was aiming for.

Regards
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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