View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default calculation in an if formula


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})


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=503667