Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Chemboy
 
Posts: n/a
Default HELP! Multiple if statements on the same line

How do I get excel to give an answer when two conditions must be met?
Basically, if L42L43 and L430. 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, xy0 is valad, is it not? Here is what has been tried so far:
if L42L43 AND L430
if L42L43 & L430
if L42L43 + L430
if L43<L42 and 0<L43

Anyone have any suggesations?
Thank you in advance for any help
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Chip Pearson
 
Posts: n/a
Default HELP! Multiple if statements on the same line

Try

=IF(AND(L42L43,L430),true,false)

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


"Chemboy" wrote in message
...
How do I get excel to give an answer when two conditions must
be met?
Basically, if L42L43 and L430. 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, xy0 is valad, is it not? Here is what has
been tried so far:
if L42L43 AND L430
if L42L43 & L430
if L42L43 + L430
if L43<L42 and 0<L43

Anyone have any suggesations?
Thank you in advance for any help



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Anne Troy
 
Posts: n/a
Default HELP! Multiple if statements on the same line

=IF(and(L42L43,L430),L43*1,0)
where L43*1 should be YOUR calculation...
************
Hope it helps!
Anne Troy
www.OfficeArticles.com

"Chemboy" wrote in message
...
How do I get excel to give an answer when two conditions must be met?
Basically, if L42L43 and L430. 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, xy0 is valad, is it not? Here is what has been tried so
far:
if L42L43 AND L430
if L42L43 & L430
if L42L43 + L430
if L43<L42 and 0<L43

Anyone have any suggesations?
Thank you in advance for any help



  #4   Report Post  
Posted to microsoft.public.excel.newusers
Chemboy
 
Posts: n/a
Default HELP! Multiple if statements on the same line

It worked wonderfully!

Thank you so much.



"Chip Pearson" wrote:

Try

=IF(AND(L42L43,L430),true,false)

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


"Chemboy" wrote in message
...
How do I get excel to give an answer when two conditions must
be met?
Basically, if L42L43 and L430. 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, xy0 is valad, is it not? Here is what has
been tried so far:
if L42L43 AND L430
if L42L43 & L430
if L42L43 + L430
if L43<L42 and 0<L43

Anyone have any suggesations?
Thank you in advance for any help




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I have multiple "If" statements in one formula? MikeL Excel Discussion (Misc queries) 5 January 15th 06 03:36 AM
Can I link timeline labels to a line chart? hizzle Charts and Charting in Excel 1 December 6th 05 09:36 AM
strange horizontal line showing accross several columns Thrava Excel Discussion (Misc queries) 4 June 29th 05 03:33 AM
Label an average line in a dynamic chart John Cordes Charts and Charting in Excel 3 June 17th 05 09:42 AM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 03:56 AM


All times are GMT +1. The time now is 12:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"