A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

SumProduct



 
 
Thread Tools Display Modes
  #1  
Old December 11th, 2009, 04:18 PM posted to microsoft.public.excel.misc
HeatherMichelle
external usenet poster
 
Posts: 3
Default SumProduct

I am trying to creat a roll up sheet. on my data sheet I have multiple
columns of data.

F K L R
51160 2 6 3
51160 1 4 1
51162 0 5 2
51162 1 0 3

I am trying to create a formula that will search column F for matching
numbers and then add all cooresponding data in column K, L, and R. So cell A1
of my roll up sheet for "51160" will show the total of 17... Any ideas? Thanks

  #2  
Old December 11th, 2009, 04:31 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default SumProduct

Try
=SUM(SUMIF(F1:F10,51160,INDIRECT({"K1:K10","L1:L10 ","R1:R10"})))

--
Jacob


"HeatherMichelle" wrote:

I am trying to creat a roll up sheet. on my data sheet I have multiple
columns of data.

F K L R
51160 2 6 3
51160 1 4 1
51162 0 5 2
51162 1 0 3

I am trying to create a formula that will search column F for matching
numbers and then add all cooresponding data in column K, L, and R. So cell A1
of my roll up sheet for "51160" will show the total of 17... Any ideas? Thanks

  #3  
Old December 11th, 2009, 05:05 PM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default SumProduct

Try this...

=SUMPRODUCT(--(F2:F10=51160),K2:K10+L2:L10+R2:R10)

--
Biff
Microsoft Excel MVP


"HeatherMichelle" wrote in
message ...
I am trying to creat a roll up sheet. on my data sheet I have multiple
columns of data.

F K L R
51160 2 6 3
51160 1 4 1
51162 0 5 2
51162 1 0 3

I am trying to create a formula that will search column F for matching
numbers and then add all cooresponding data in column K, L, and R. So cell
A1
of my roll up sheet for "51160" will show the total of 17... Any ideas?
Thanks



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:34 AM.


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