View Single Post
  #5  
Old April 18th, 2009, 12:42 AM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
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.