Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default Multi column sumproduct

I think the sumproduct is the correct formula but I can't get this right. I
am trying to get a total amount of parts though multiple issues as shown
below:

Column g h i j k l m
n
pears 3 apples 2 oranges 5 bananas 6
oranges 5 bananas 4 apples 8 pears 10

As you can see, each coulmn will not equal the same item. I need the total
of each item for the whole sheet. The information will be updated monthly so
the totals will change. My goal is to, on another spreadsheet within the
same workbook, have the items in column a and the totals in column b. All
help is much appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multi column sumproduct

Try this:

Sheet 2
criteria start from A2
In B2: =SUMPRODUCT(--(Sheet1!$G$2:$M$300=$A2),Sheet1!$H$2:$N$300)
copy down


"Todd" wrote:

I think the sumproduct is the correct formula but I can't get this right. I
am trying to get a total amount of parts though multiple issues as shown
below:

Column g h i j k l m
n
pears 3 apples 2 oranges 5 bananas 6
oranges 5 bananas 4 apples 8 pears 10

As you can see, each coulmn will not equal the same item. I need the total
of each item for the whole sheet. The information will be updated monthly so
the totals will change. My goal is to, on another spreadsheet within the
same workbook, have the items in column a and the totals in column b. All
help is much appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multi column sumproduct

Table on Sheet2

Unique items listed on a different sheet starting in cell A2.

Enter this formula in B2 and copy down as needed:

=SUMIF(Sheet2!G:M,A2,Sheet2!H:N)

--
Biff
Microsoft Excel MVP


"Todd" wrote in message
...
I think the sumproduct is the correct formula but I can't get this right. I
am trying to get a total amount of parts though multiple issues as shown
below:

Column g h i j k l m
n
pears 3 apples 2 oranges 5 bananas
6
oranges 5 bananas 4 apples 8 pears
10

As you can see, each coulmn will not equal the same item. I need the
total
of each item for the whole sheet. The information will be updated monthly
so
the totals will change. My goal is to, on another spreadsheet within the
same workbook, have the items in column a and the totals in column b. All
help is much appreciated.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default Multi column sumproduct

Worked perfectly! Thank you!

"Teethless mama" wrote:

Try this:

Sheet 2
criteria start from A2
In B2: =SUMPRODUCT(--(Sheet1!$G$2:$M$300=$A2),Sheet1!$H$2:$N$300)
copy down


"Todd" wrote:

I think the sumproduct is the correct formula but I can't get this right. I
am trying to get a total amount of parts though multiple issues as shown
below:

Column g h i j k l m
n
pears 3 apples 2 oranges 5 bananas 6
oranges 5 bananas 4 apples 8 pears 10

As you can see, each coulmn will not equal the same item. I need the total
of each item for the whole sheet. The information will be updated monthly so
the totals will change. My goal is to, on another spreadsheet within the
same workbook, have the items in column a and the totals in column b. All
help is much appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multi column sumproduct

You're Welcome!

"Todd" wrote:

Worked perfectly! Thank you!

"Teethless mama" wrote:

Try this:

Sheet 2
criteria start from A2
In B2: =SUMPRODUCT(--(Sheet1!$G$2:$M$300=$A2),Sheet1!$H$2:$N$300)
copy down


"Todd" wrote:

I think the sumproduct is the correct formula but I can't get this right. I
am trying to get a total amount of parts though multiple issues as shown
below:

Column g h i j k l m
n
pears 3 apples 2 oranges 5 bananas 6
oranges 5 bananas 4 apples 8 pears 10

As you can see, each coulmn will not equal the same item. I need the total
of each item for the whole sheet. The information will be updated monthly so
the totals will change. My goal is to, on another spreadsheet within the
same workbook, have the items in column a and the totals in column b. All
help is much appreciated.

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
Multi-Worksheet Sumproduct & Listing Rob Excel Worksheet Functions 3 April 8th 09 05:28 PM
a multi-rounded sumproduct driller2 Excel Worksheet Functions 3 December 16th 06 03:16 PM
match in multi-column and multi-row array sloth Excel Discussion (Misc queries) 14 September 1st 06 10:33 PM
SUMPRODUCT + multi conditions BernzG Excel Worksheet Functions 3 May 10th 06 02:23 AM
Multi-conditions with SUMPRODUCT and COUNTIF MikeDH Excel Worksheet Functions 2 August 16th 05 02:06 AM


All times are GMT +1. The time now is 03:16 AM.

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"