Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default advanced excel programming

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")))
  #2   Report Post  
Posted to microsoft.public.excel.programming
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")))


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default advanced excel programming

Ralph:
I had a different interpretation from the one that Bob Phillips had. Here
is my version:
=IF (
AND((AH13="OK"),(X13="OK"),(Y13="PLUMB"),OR((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"), OR((AK13=1),(AM13=1),(AO13=1))),
"A: Repair in 9 months")))

Is this what you had in mind?


"Ralph" wrote:

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")))

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default advanced excel programming

Yes, it's OR( x , y , z ), but your ()s don't match.
[I wonder if these tabs will work]
=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",
"Missing False Value")
)
)

Bob wrote:
=IF(AND((AH13="OK,X13="OK",Y13="PLUMB",AK13=1,AM1 3=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",Y1 3="AL"),AK13=1,AM13=1,A13=1
),"A: Repair in 9 months")))



Ralph wrote
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"),(AK1 3=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")))




----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Conditional Formatting Ideas Needed! (ok, maybe not that advanced...) shadestreet Excel Discussion (Misc queries) 2 July 21st 06 03:04 PM
Excel Programming Help Jason Excel Programming 1 July 7th 04 02:50 AM
Advanced Programming Pyball[_12_] Excel Programming 4 January 10th 04 09:42 AM
Excel Programming. Aravind[_2_] Excel Programming 0 September 10th 03 07:39 AM
Excel Programming in VB sapta Excel Programming 0 September 10th 03 05:52 AM


All times are GMT +1. The time now is 06:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"