IF,AND,OR or all three?

cruyff73

New Member
Joined
Oct 7, 2016
Messages
32
Hi

Any help greatly appreciated before my head hits the desk..

I need a formula that says IF L3 is greater than 1 but less than D4, "ADVISORY" but if L3 is greater than D4, "FAIL". Additionally, if L3 is less than D4 but d2 is greater than f2, "ADVISORY" otherwise "PASS"

I hope that makes some sense??

Thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Can you share an eg,
as you say L3 >1 but <d4? what values does d4 carry
 
Upvote 0
Not at my normal PC atm so can't paste example so I'll try to explain it

L3 is number of major errors
D2 is number of minor errors
D4 is number of major errors allowed
F2 is number of minor errors allowed

So if L3 is greater than 1 but less than d4, "ADVISORY"
but if L3 is equal to or greater than d4, "FAIL"
However, if L3 is less than D4 but D2 is equal to or higher than F2, "ADVISORY"
but if L3 is less than D4 and D2 is less than F2, "PASS"

Confusing myself with this!
 
Upvote 0
Hi,

See if this provides the logic you require:


Book1
J
1FAIL
Sheet144
Cell Formulas
RangeFormula
J1=IF(L3OR(L3>1,D2>=F2),"ADVISORY","PASS"),"FAIL")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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