If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Complicated SUM formula

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-11, 16:34
roeepa roeepa is offline
Registered User
 
Join Date: Mar 2010
Posts: 28
Complicated SUM formula

Hi,

I have the following formula, and i need it to cover many more columns, hopefully without having to manually enter it. Here is the formula:
=(B3*$B$2)+(C3*$C$2)+(D3*$D$2)+(E3*$E$2)+(F3*$F$2) +(G3*$G$2)+(H3*$H$2)+(I3*$I$2)+(J3*$J$2)+(K3*$K$2) +(L3*$L$2)+(M3*$M$2)+(N3*$N$2)+(O3*$O$2)+(P3*$P$2) +(Q3*$Q$2)+(R3*$R$2)+(S3*$S$2)+(T3*$T$2)+(U3*$U$2)

I would like it to continue all the way to column JP, which means that the last thing that this formula will calculate will be JP3*$JP$2

(After i complete this formula i will need to drag it down a few rows, and thats why i use the $ sign.)

Is there a simple way of doing it?

Any help will be greatly appreciated. Thanks!
Reply With Quote
  #2 (permalink)  
Old 05-17-11, 03:34
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
Hi,

Try this

=SUMPRODUCT($B$2:$JP$2,B3:JP3)
Reply With Quote
  #3 (permalink)  
Old 05-17-11, 05:42
roeepa roeepa is offline
Registered User
 
Join Date: Mar 2010
Posts: 28
Hi,

It worked. Thanks a lot for clearing my day...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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