# Thread: help on merging two formula IF(AND(R9="Y",R10="Y"),Z9,"") and IF(ISNUMBER(MATCH(C9,AB

1. ## help on merging two formula IF(AND(R9="Y",R10="Y"),Z9,"") and IF(ISNUMBER(MATCH(C9,AB

I was to merge two formula

IF(AND(R9="Y",R10="Y"),Z9,"") + IF(ISNUMBER(MATCH(C9,AB68:AB71,0)),AC68,IF(ISNUMBER(MATCH(C9,AB72:AB77,0)),AC72,"Standard Handle/s"))

2. Try

=IF(R9="Y",Z9,IF(R10="Y",Z10,IF(ISNUMBER(MATCH(C9,AB68:AB71,0)),AC68,IF(ISNUMBER(MATCH(C9,AB72:AB77,0)),AC72,"Standard Handle/s"))))

3. hello sir,

Thanks for ur reply....I would be more satisfied if done with logical AND...Is is possible??

4. Originally Posted by jayajaya_4
hello sir,

Thanks for ur reply....I would be more satisfied if done with logical AND...Is is possible??
What should be returned in O10 if both R9 and R10 are equal to "Y" ?

5. Originally Posted by Bob Phillips
Try

=IF(R9="Y",Z9,IF(R10="Y",Z10,IF(ISNUMBER(MATCH(C9,AB68:AB71,0)),AC68,IF(ISNUMBER(MATCH(C9,AB72:AB77,0)),AC72,"Standard Handle/s"))))
this is for sure a right ans...and it is working fine....but I just needed the same by using with logical AND

6. Originally Posted by jayajaya_4
this is for sure a right ans...and it is working fine....but I just needed the same by using with logical AND
In affect, the IF statement can be constructed in such a way that the AND statement could be substituted for parts of it, but only where IF(TRUE) leads directly to another IF statement. As every stage of your formula produces a final result where the condition tested is TRUE, there is no point where AND could be used, unless you turned TRUE into FALSE by adding NOT. That would simply add unnecessary complication however.

Why to you want use AND if the formula works OK as is ???

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•