IF AND OR or is it IF OR AND

robbarba

Board Regular
Joined
Apr 17, 2016
Messages
79
Office Version
  1. 365
Platform
  1. Windows
Here I am again, coming those more experience than I I have tried multi variations of the this formula

S9 = TASK1 OR TASK2
T9 = Score for TASKS >=.75 IF TASK1 or .85 IF TASK2
U9 = SUM of F9:R9 (F9 G9 H9 I9 to calculate score for TASK1) and (F9 G9 H9 I9 J9 K9 L9 M9 N9 O9 P9 Q9 R9 to calculate score for TASK2)

and this is the closest I could get it to working
=IF(AND(S9="TASK1";U9>=0.75;"PASS";"Fail");OR(S9="TASK2";U9>=0.85;"PASS";"Fail"))

Assistance is appreciated!!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi,

Not sure if we should be referencing U9 (as in your formula sample), or T9 as in your description, for the TASK Scores, so adjust the Cell reference accordingly,
Try:

Excel Formula:
=IF(OR(AND(S9="TASK1",U9>=0.75),AND(S9="TASK2",U9>=0.85)),"PASS","FAIL")
 
Upvote 0
Solution
Thank you!! it works like a Charm, forgot to rename TASK1 and TASK2 because I was so excited!!
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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