Simple Nested And, Or formula based on three conditions

deacon10

Board Regular
Joined
Aug 9, 2010
Messages
59
Office Version
  1. 365
Hi all, I am hoping someone can help with what I think should be a pretty easy formula,

I am trying to return a value of “medium” or “high” based on if W11 is blank & P11>5 for three different criteria in N11 “average”, “poor” or “good”.

I don’t understand why I am struggling with this so much, but In English it would be…

if N11 = “average” and W11 is blank and P11>5 then answer = “medium”
if N11 is not “average”, but = “poor” and W11 is blank and P11>5 then answer = “high”
if N11 is not “average” or “poor”, but = “good” and W11 is blank and P11>5 then answer = “high”


This is my rather pathetic attempt for part of the logic that returns nothing.

=IF(OR(AND(W11="",N11="average",P11>5)),IF(AND(W11="",N11="poor",P11>5),"High",""))

Thanks in advance

JD
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
How about
Excel Formula:
=IF(AND(W11="",P11>5),SWITCH(N11,"average","medium","poor","high","good","high",""),"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,592
Messages
6,120,433
Members
448,961
Latest member
nzskater

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