View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default advanced excel programming

=IF(AND((AH13="OK,X13="OK",Y13="PLUMB",AK13=1,AM13 =1,AO13=1),"C: Check in 5
years",IF((X13="REPLACE"),"A: Replace in 9
months",IF(AND((AH13="OK",X13="OK",OR(Y13="SL",Y13 ="AL"),AK13=1,AM13=1,A13=1
),"A: Repair in 9 months")))
--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ralph" wrote in message
...
Help me please. I need to have a statement which says: if (Y13="SL",OR
("AL"),OR... how do I do it especially in the example attached???


=IF(AND((AH13="OK"),(X13="OK"),(Y13="PLUMB"),(AK13 =1),(AM13=1),(AO13=1)),"C:
Check in 5 years",IF((X13="REPLACE"),"A: Replace in 9

months",IF(AND((AH13="OK"),(X13="OK"),(Y13="SL"),( AK13=1),(AM13=1),(AO13=1))
,"A: Repair in 9 months")))