calculation in an if formula

S

Sharon L.

I have three colums B1:B3. I need a formula that will look at B1 and if
there is a value in it, multiply the value by 300, then look at B2 and if
there is a value, multiply it by 325, and then look at B3 and if there is a
value, multiply it by 350 and then add all three of those together. Could
someone please help me with this? Thanks in advance.
 
P

Peo Sjoblom

One way

=SUMPRODUCT(B1:B3,{300;325;350})

--
Regards,

Peo Sjoblom

Portland, Oregon
 
D

daddylonglegs

If there isn't a value will the cells be blank? If so

=B1*300+B2*325+B3*350

If there might be text in the range

=SUMPRODUCT(B1:B3,{300;325;350})
 
Top