# Thread: Multiple IF AND Conditions (Excel 2003)

1. ## Multiple IF AND Conditions (Excel 2003)

Hi Excel Experts,

I have attached an excel sheet, wherein there are two sets of Data

Data 1 - A12 - B35 Which has the Grades & Notional PB

Data 2- A1 - F6 the main data wherein i need a formula in Col F with the following conditions.

If Grade in D2 is L5 & Above (i.e. L5, L6, L7, L5BA, L6BA,L7BA) AND Notional PB in E2 is > 50000 then 2/3 of E2
AND if >100000 in any Grade then 2/3 of E2.

Hope this clarifies.

Looking forward to a formula for the same.

Regards
Baiju

2. ## Re: Multiple IF AND Conditions (Excel 2003)

Hi,
Try this:
=IF(OR(E2>100000,AND(D2>="L5",E2>50000)),E2*2/3,E2)
HTH

3. ## Re: Multiple IF AND Conditions (Excel 2003)

You write
<hr>E2 is > 50000 then 2/3 of E2 AND if >100000 in any Grade then 2/3 of E2<hr>
Don't you mean OR instead of AND?
Does this formula do what you want?
<code>
=IF(OR(AND(D2>="L5",E2>50000),E2>100000),2/3*E2,E2)</code>

4. ## Re: Multiple IF AND Conditions (Excel 2003)

Hi Rory,

Thanks for the formula its working great, Im just curious to know How is excel recognising the alpha numeric value ie. >L5 and it is recognising all value staring L5, L6, L7, L5PMO,L5BA, L6PMO,L6BA and so on.

Regards
Baiju

5. ## Re: Multiple IF AND Conditions (Excel 2003)

Hi Baiju,
Because they are text values Excel simply compares the characters one at a time from the left. The first character is always L, so the test really occurs on the next character. Anything greater than or equal to "5" counts, anything less than "5" doesn't. That is pretty much the end of the comparison.
HTH

6. ## Re: Multiple IF AND Conditions (Excel 2003)

Hi Hans,

Its OR, both the formulas are the same i have received. thanks it working perfectly.

Regards
Baiju

7. ## Re: Multiple IF AND Conditions (Excel 2003)

Thanks Rory,

Its been of great help

Rgds
Baiju

#### Posting Permissions

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