Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 143
Default Mutliple Sumproduct criteria

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Mutliple Sumproduct criteria

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mutliple criteria vlookups Squid Excel Worksheet Functions 5 December 10th 08 10:06 PM
repost: formula qhich checks mutliple criteria before counting JHolmes Excel Discussion (Misc queries) 3 February 22nd 08 06:07 AM
Mutliple Criteria Count function [email protected] Excel Worksheet Functions 1 September 7th 07 10:30 AM
SUMPRODUCT using more than 2 criteria? Tasha Excel Worksheet Functions 2 August 17th 07 02:18 PM
Sumproduct - two+ criteria Bryce Excel Worksheet Functions 2 February 7th 07 02:00 AM


All times are GMT +1. The time now is 07:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"