how do I write a formula: if (cell address) is less than X add Y

C

CTrophyMan

I am using Excel 2003 and I want to write a formula to add 2 cells with a
condition that is the second cell value is less than a preset amount, i.e.
$7.50 then add the preset amount instead of the value in the second cell.
 
B

Bob Phillips

=a1+MAX(7.5,a2)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
P

Paul Sheppard

CTrophyMan said:
I am using Excel 2003 and I want to write a formula to add 2 cells with
a
condition that is the second cell value is less than a preset amount,
i.e.
$7.50 then add the preset amount instead of the value in the second
cell.

Hi CTrophyMan

Assuming your values to be in cells A1 & B1 in C1 use this formula

=IF(B1<7.5,A1+7.5,A1+B1)
 
C

Cillian

HI

Cell one is A1
Cell Two is B1
Formula in Cell three

=if(B1>=7.5, SUM(A1:B1), A1+7.5)
 
Top