ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   excel formula (https://www.excelbanter.com/excel-worksheet-functions/190925-excel-formula.html)

AkitaMom

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

Gary''s Student

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

Dave Peterson

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

JBoyer

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


AkitaMom

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



All times are GMT +1. The time now is 09:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com