SUMPRODUCT application?

BlackBear277

New Member
Joined
Aug 31, 2011
Messages
2
Hello All,

I'm new to the board and using Excel 2010 with Windows 7.

In my example, I have a "Selections" section which I'm able to hardkey parameters (such as Company "1003", Date "9/30/2011", and Product "Pears"). I'm interested in how I might incorporate a SUMPRODUCT formula in my scenerio to return the sum of any values that meet my hardkeyed parameter values. I've struggled writing a formula that fits this specific format.

Thanks so much for any help!


Excel Workbook
ABCDEFGHIJKLM
1100110011001100110031003100310031006100610061006
2Categories:3/31/20116/30/20119/30/201112/31/20113/31/20116/30/20119/30/201112/31/20113/31/20116/30/20119/30/201112/31/2011
3Apples200150250200200175225225250200275225
4Pears5025755050252575100253050
5Oranges253525253025402545252550
6
7275210350275280225290325395250330325
8
9Selections:
101003
119/30/2011
12Pears???
Sheet1
Excel 2010
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Are the dates in row 2, duplicates for each name (1001 1003 etc)
I mean, is F2:I2 the same as B2:E2 and J2:M2 ?

If So, try

=INDEX(OFFSET(B3:E5,0,MATCH(A10,B1:M1,0)-1),MATCH(A12,A3:A5,0),MATCH(A11,B2:E2,0))


Excel Workbook
ABCDEFGHIJKLM
1100110011001100110031003100310031006100610061006
2Categories:03/31/201106/30/201109/30/201112/31/201103/31/201106/30/201109/30/201112/31/201103/31/201106/30/201109/30/201112/31/2011
3Apples200150250200200175225225250200275225
4Pears5025755050252575100253050
5Oranges253525253025402545252550
6
7275210350275280225290325395250330325
8
9Selections:
101001
1109/30/2011
12Apples250
Sheet2
 
Upvote 0
Hello All,

I'm new to the board and using Excel 2010 with Windows 7.

In my example, I have a "Selections" section which I'm able to hardkey parameters (such as Company "1003", Date "9/30/2011", and Product "Pears"). I'm interested in how I might incorporate a SUMPRODUCT formula in my scenerio to return the sum of any values that meet my hardkeyed parameter values. I've struggled writing a formula that fits this specific format.

Thanks so much for any help!


Excel Workbook
ABCDEFGHIJKLM
1100110011001100110031003100310031006100610061006
2Categories:3/31/20116/30/20119/30/201112/31/20113/31/20116/30/20119/30/201112/31/20113/31/20116/30/20119/30/201112/31/2011
3Apples200150250200200175225225250200275225
4Pears5025755050252575100253050
5Oranges253525253025402545252550
6
7275210350275280225290325395250330325
8
9Selections:
101003
119/30/2011
12Pears???
Sheet1
Excel 2010
B12, control+shift+enter, not just enter:

=SUM(INDEX($B$3:$M$5,MATCH(A2,$A$3:$A$5,0),MATCH(1,IF($B$1:$M$1=A10,IF($B$2:$M$2=A11,1)),0)))
 
Upvote 0
Many thanks for the help Aladin Akyurek & jonmo1!

Seems to have done the trick!

I will do some reading on Ctrl+Shift+Enter (CSE formulas) in Excel.
 
Upvote 0
Aladin i think you mean A12 not A2
=SUM(INDEX($B$3:$M$5,MATCH(A12,$A$3:$A$5,0),MATCH(1,IF($B$1:$M$1=A10,IF($B$2:$M$2=A11,1)),0))
 
Upvote 0
Why not just use SUMPRODUCT? (unless I am missing something)

=SUMPRODUCT((B3:M5)*(A3:A5=A11)*(B1:M1=A9)*(B2:M2=A10))
 
Upvote 0
Aladin i think you mean A12 not A2
=SUM(INDEX($B$3:$M$5,MATCH(A12,$A$3:$A$5,0),MATCH(1,IF($B$1:$M$1=A10,IF($B$2:$M$2=A11,1)),0))

Right, obviously. Thanks. Although a slow typer, I manage to miss some key strokes on my vaio I'm nevertheles happy with.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top