Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sharon L.
 
Posts: n/a
Default calculation in an if formula

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default calculation in an if formula

One way

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

--
Regards,

Peo Sjoblom

Portland, Oregon




"Sharon L." <Sharon wrote in message
...
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.


  #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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Time Calculation Formula! Mike Excel Discussion (Misc queries) 5 July 23rd 05 04:37 AM
Again-revealing the contents of formula srinivasan Excel Worksheet Functions 0 July 5th 05 06:25 AM
Initial Formula Calculation jestersdead Excel Discussion (Misc queries) 3 July 4th 05 02:07 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"