Excel formula

debithead

New Member
Joined
Sep 11, 2002
Messages
4
I am trying to create a formula that will sum two numbers on excel that will have an answer of the sum of the numbers except if the sum is less than zero the answer will be zero.

Help!
 

Some videos you may like

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
If your range is A1:A10, you could use
=MAX(0,SUM(A1:A10))

good luck
 

debithead

New Member
Joined
Sep 11, 2002
Messages
4
Thank you very much - one problem though: I really needed to have the difference of two numbers and if this difference is less than 0 it needs to be 0. For example: 25 - 35 = 0.

Thank you again!
 

Watch MrExcel Video

Forum statistics

Threads
1,118,025
Messages
5,569,727
Members
412,289
Latest member
Kingchaos64
Top