Help with complex IF statement

D

D4WNO

Hi everyone, I hope you can help?

I currently have the below, which either gives me "Not in Use", "Open"
"Hit PDD Within 5 Days" or "Missed PDD Over 5 Days" as possibl
results.

=IF(B2="","Not in Use",IF(E2="","Open",IF(I2<=5,"Hit PDD Within
Days",IF(I2>=6,"Missed PDD Over 5 Days"))))

Now what I'd like to be able to do is then say if E2 does in fact tur
out to be "Open", then do another calculation on it to split it dow
even further so I could have 5 possible results ("Not in Use", "Ope
Within Limit", "Open Missed Limit", "Hit PDD Within 5 Days" or "Misse
PDD Over 5 Days")

For anything with a result of Open I'd like it to check if F2 is greate
than -5 (in which case it would be "Open Missed Limit", if it's les
then -5 then "Open Within Limit".

I hope this all makes sense as I'm confusing myself now

Thanks so much in advance, you guys have been so so helpful and I'
learning a lot (keeping this in my bookmarks for future referenc
 
C

Claus Busch

Hi,

Am Wed, 3 Oct 2012 08:45:27 +0000 schrieb D4WNO:
=IF(B2="","Not in Use",IF(E2="","Open",IF(I2<=5,"Hit PDD Within 5
Days",IF(I2>=6,"Missed PDD Over 5 Days"))))

Now what I'd like to be able to do is then say if E2 does in fact turn
out to be "Open", then do another calculation on it to split it down
even further so I could have 5 possible results ("Not in Use", "Open
Within Limit", "Open Missed Limit", "Hit PDD Within 5 Days" or "Missed
PDD Over 5 Days")

For anything with a result of Open I'd like it to check if F2 is greater
than -5 (in which case it would be "Open Missed Limit", if it's less
then -5 then "Open Within Limit".

try:
=IF(B2="","Not in Use",IF(AND(E2="",F2>-5),"Open Missed Limit",IF(AND(E2="",F2<-5),"Open Within Limit",IF(I2<=5,"Hit PDD Within 5 Days",IF(I2>5,"Missed PDD Over 5 Days")))))


Regards
Claus Busch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top