Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have three columns, Vendor, Price and Quantity on a data tab. On a summary
tab I have all of my vendors. How can I do a sumproduct (price and quantity) by vendor on my summary tab? I have been sorting my data by vendor and manually selecting the sumproduct range, but as we add vendors, this will be come unmanageable. Thanks! -- Regards, PJ Please rate this post using the vote buttons if it was helpful. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
PJFry wrote:
I have three columns, Vendor, Price and Quantity on a data tab. On a summary tab I have all of my vendors. How can I do a sumproduct (price and quantity) by vendor on my summary tab? I have been sorting my data by vendor and manually selecting the sumproduct range, but as we add vendors, this will be come unmanageable. Thanks! No need to sort. Try something like this on your Summary worksheet @ B2, where the vendor ID is in A2, and fill down: =SUMPRODUCT((Data!$A$2:$A$11=Summary!$A2)*(Data!$B $2:$B$11)*(Data!$C$2:$C$11)) Alternative syntax: =SUMPRODUCT(--(Data!$A$2:$A$11=Summary!$A2),(Data!$B$2:$B$11),(D ata!$C$2:$C$11)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
mutliple criteria vlookups | Excel Worksheet Functions | |||
repost: formula qhich checks mutliple criteria before counting | Excel Discussion (Misc queries) | |||
Mutliple Criteria Count function | Excel Worksheet Functions | |||
SUMPRODUCT using more than 2 criteria? | Excel Worksheet Functions | |||
Sumproduct - two+ criteria | Excel Worksheet Functions |