Multi column sumproduct

  • Thread starter Thread starter Todd
  • Start date Start date
T

Todd

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.
 
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)
 
Worked perfectly! Thank you!

Teethless mama said:
Try this:

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