Computing.Net > Forums > Office Software > If condition in excel

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

If condition in excel

Reply to Message Icon

Name: Syed Afzal uddin
Date: September 7, 2005 at 07:12:51 Pacific
OS: win 2000
CPU/Ram: P4 - 256
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: rhawk7938
Date: September 7, 2005 at 11:43:57 Pacific
Reply:

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


1

Response Number 2
Name: Bryco
Date: September 7, 2005 at 17:11:36 Pacific
Reply:

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



1

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Office 2003 with user rig... Using Access On Linux



Post Locked

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


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: If condition in excel

If condition in excel www.computing.net/answers/office/if-condition-in-excel/5051.html

using multiple if conditions www.computing.net/answers/office/using-multiple-if-conditions/8424.html

Conditional Copy & Count in Excel www.computing.net/answers/office/conditional-copy-count-in-excel/9652.html