Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
DEAR FRIEND AS I GOT REPLY THAT IF I USE & WITH IF, I CAN USE IF CONDITION AS MUCH AS, BUT WHEN I USE IN BELOW FORMULA, IT IS NOT WORKING. PLS. GUIDE ME AND HOW THE CORRECT WAY
IF((Q5-O5)<=0,(Q5*30/O5) & IF((Q5-O5-N5)<=0,(Q5-O5)*30/N5+30 & IF((Q5-O5-N5-M5)<=0,(Q5-O5-N5)*30/M5+60 & IF((Q5-O5-N5-M5-L5)<=0,(Q5-O5-N5-M5)*30/L5+90 & IF((Q5-O5-N5-M5-L5-K5)<=0,(Q5-O5-N5-M5-L5)*30/K5+120 & IF((Q5-O5-N5-M5-L5-K5-J5)<=0,(Q5-O5-N5-M5-L5-K5)*30/J5+150 & It;=0,(Q5-O5-N5-M5-L5-K5-J5)*30/I5+180 & I)<=0/H5+210 "Over 240 Days"))))))))

I believe the syntax you are trying to use should be more like this:
=IF(AND(A1>0,A1<11),"In Range","Out of Range")

I don't really think Syed is looking for the AND If. Perhaps though.
I believe Syed is looking for Else IF.
eg. IF((Q5-O5)<=0,Q5*30/O5,IF((Q5-O5-N5)<=0,(Meaning: if Q5 minus O5 is less than or equal to zero then Q5 times 30 divided by O5
or to simplify it: if Q5 minus O5 is less than one then Q5 times 30 and then divide by 5 else If Q5-O5-N5...
The formula's structure is If one condition then one result otherwise or else another condition produces a different result.
Else IF being the second or subsequent conditions if the previous result does not hold true.
HTH
Bryan

![]() |
Office 2003 with user rig...
|
Using Access On Linux
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |