Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct?
Sheet1 looks like this, Account, Part#, Sales ** Notice some Part# & Account's are the same. ColumnA,B,C B15555, 12354949, 80 A16040, 12354959, 120 B15555, 12351001, 84 A16040, 17094000, 36 B15555, 18889955, 14 L17550, 18889955, 12 Sheet2 ColumnA,B,C,D Part#,A16040, B15555, L17550 12354949 18889955 I want to get the Sales for the Part# in column A for the account listed at the top. How can I get the value of 120 for Account A16040. T.I.A. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct?
On Feb 5, 1:00 pm, "Grant" wrote:
Sheet1 looks like this, Account, Part#, Sales ** Notice some Part# & Account's are the same. ColumnA,B,C B15555, 12354949, 80 A16040, 12354959, 120 B15555, 12351001, 84 A16040, 17094000, 36 B15555, 18889955, 14 L17550, 18889955, 12 Sheet2 ColumnA,B,C,D Part#,A16040, B15555, L17550 12354949 18889955 I want to get the Sales for the Part# in column A for the account listed at the top. How can I get the value of 120 for Account A16040. T.I.A. A pivot table will suit your needs just fine. Jason |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct?
Hi Grant
If you don't want to use Pivot Tables (which I think is the better solution) then for Sumproduct Sheet2 cell C2 =SUMPRODUCT((Sheet1!$A$1:$A$1000=$A2)*(Sheet1!$B$1 :$B$1000=B$1)*$C$1:$C$1000) Copy across and down as required Change ranges to suit but ensure they are of equal length. -- Regards Roger Govier "Grant" wrote in message ... Sheet1 looks like this, Account, Part#, Sales ** Notice some Part# & Account's are the same. ColumnA,B,C B15555, 12354949, 80 A16040, 12354959, 120 B15555, 12351001, 84 A16040, 17094000, 36 B15555, 18889955, 14 L17550, 18889955, 12 Sheet2 ColumnA,B,C,D Part#,A16040, B15555, L17550 12354949 18889955 I want to get the Sales for the Part# in column A for the account listed at the top. How can I get the value of 120 for Account A16040. T.I.A. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need help with sumproduct & dynamic ranges | Excel Worksheet Functions | |||
Sumproduct | Excel Worksheet Functions | |||
sumproduct causing memory errors? | Excel Worksheet Functions | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |