#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default excel formula

want to add a1+b2, if that is less than zero, I want c2 to read 0, if it is
more than zero I want what 1a+b2 equals to show
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default excel formula

=IF(A1+B2<0,0,A1+B2)
--
Gary''s Student - gsnu200791
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default excel formula

=max(0,a1+b2)

or

=if(a1+b2<0,0,a1+b2)



AkitaMom wrote:

want to add a1+b2, if that is less than zero, I want c2 to read 0, if it is
more than zero I want what 1a+b2 equals to show


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default excel formula

Type the following in C2:
=IF((A1+B2)<0,0,A1+B2)

"AkitaMom" wrote:

want to add a1+b2, if that is less than zero, I want c2 to read 0, if it is
more than zero I want what 1a+b2 equals to show

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default excel formula

Thank you :) I was putting in too many ( and not enough ,
Thanks for the help

"Gary''s Student" wrote:

=IF(A1+B2<0,0,A1+B2)
--
Gary''s Student - gsnu200791

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
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
How do I view formula results intead of formula in excel? davidinatlanta Excel Worksheet Functions 4 February 7th 06 03:02 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM


All times are GMT +1. The time now is 04:06 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"