Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2006

Tip: Looking for answers? Try searching our database.

HELP! Multiple if statements on the same line

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chemboy - 23 Jan 2006 19:20 GMT
How do I get excel to give an answer when two conditions must be met?  
Basically, if L42>L43 and L43>0.  If true, it goes on to a calculation.  If
false, the result is supposed to be 0.    I can get condition one to work,
but not both.  Is it even possible to have two on the same line?  
Mathmatically, x>y>0 is valad, is it not?  Here is what has been tried so far:
if L42>L43 AND L43>0
if L42>L43 & L43>0
if L42>L43 + L43>0
if L43<L42 and 0<L43

Anyone have any suggesations?
Thank you in advance for any help
Chip Pearson - 23 Jan 2006 19:28 GMT
Try

=IF(AND(L42>L43,L43>0),true,false)

Signature

Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

> How do I get excel to give an answer when two conditions must
> be met?
[quoted text clipped - 13 lines]
> Anyone have any suggesations?
> Thank you in advance for any help
Chemboy - 30 Jan 2006 16:41 GMT
It worked wonderfully!

Thank you so much.

> Try
>
[quoted text clipped - 17 lines]
> > Anyone have any suggesations?
> > Thank you in advance for any help
Anne Troy - 23 Jan 2006 19:28 GMT
=IF(and(L42>L43,L43>0),L43*1,0)
where L43*1 should be YOUR calculation...
************
Hope it helps!
Anne Troy
www.OfficeArticles.com

> How do I get excel to give an answer when two conditions must be met?
> Basically, if L42>L43 and L43>0.  If true, it goes on to a calculation.
[quoted text clipped - 10 lines]
> Anyone have any suggesations?
> Thank you in advance for any help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.