#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Sumproduct

SHeet 2

Column a (rows 13 thru 49) contains products
COlumn c (rows 13 thru 49) contains vendor
Column Q (rows 13 thru 49) contains spend

Sheet 1

Column a contains products
column b contains vendor
column c contains spend

I need a formula that will calculate the toatal spend by product by vendor

thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 703
Default Sumproduct

Hi

I assume you want to calculate total based on values in Sheet2

In Sheet1 use this formula (headings in row 1):

=Sumproduct(--(Sheet2!A13:A49=A2), --(Sheet2!B13:B49=B2),Sheet2!
C13;C49)

Hopes this helps.
....
Per


On 16 Jul., 01:11, Curtis wrote:
SHeet 2

Column a (rows 13 thru 49) contains products
COlumn c (rows 13 thru 49) contains vendor
Column Q (rows 13 thru 49) contains spend

Sheet 1

Column a contains products
column b contains vendor
column c contains spend

I need a formula that will calculate the toatal spend by product by vendor

thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Sumproduct

Yes to your first question.... However the formula below give me a value of 0.

The formual I used is
=SUMPRODUCT(--('Aug''09'!$A$13:$A$49=$A8),--('Aug''09'!$A$13:$A$49="ABC"),'Aug''09'!$Q$13:$Q$4 9)

In sheet I want to know how much money I spent on wigit 1 2 3 by vendor ABC

Sheet 2 have the widgit type in column 1, the vendor ABC in column b and the
spend in Q... Is it a formatting thing???

Thanks

"Per Jessen" wrote:

Hi

I assume you want to calculate total based on values in Sheet2

In Sheet1 use this formula (headings in row 1):

=Sumproduct(--(Sheet2!A13:A49=A2), --(Sheet2!B13:B49=B2),Sheet2!
C13;C49)

Hopes this helps.
....
Per


On 16 Jul., 01:11, Curtis wrote:
SHeet 2

Column a (rows 13 thru 49) contains products
COlumn c (rows 13 thru 49) contains vendor
Column Q (rows 13 thru 49) contains spend

Sheet 1

Column a contains products
column b contains vendor
column c contains spend

I need a formula that will calculate the toatal spend by product by vendor

thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Sumproduct

Sorry did noit work as it produces a value of zero. I used the fortmaula
below as you recommended with the mionr change of the second condition must
equal a certain vendor name

=SUMPRODUCT(--('Aug''09'!$A$13:$A$49=$A8),--('Aug''09'!$A$13:$A$49="TVC"),'Aug''09'!$Q$13:$Q$4 9)

Sheet 2 (data Sheet)

Column a = part number
Column B = vendor name
Column q = Spend $$

Sheet 1 is summary sheet

column a = all part numbers
column b = vendors
column c = what the spend is

Maybe I have a formating issue?

Thanks

"Per Jessen" wrote:

Hi

I assume you want to calculate total based on values in Sheet2

In Sheet1 use this formula (headings in row 1):

=Sumproduct(--(Sheet2!A13:A49=A2), --(Sheet2!B13:B49=B2),Sheet2!
C13;C49)

Hopes this helps.
....
Per


On 16 Jul., 01:11, Curtis wrote:
SHeet 2

Column a (rows 13 thru 49) contains products
COlumn c (rows 13 thru 49) contains vendor
Column Q (rows 13 thru 49) contains spend

Sheet 1

Column a contains products
column b contains vendor
column c contains spend

I need a formula that will calculate the toatal spend by product by vendor

thanks



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Sumproduct

It was a fromatting issue

Thanks

"Curtis" wrote:

Sorry did noit work as it produces a value of zero. I used the fortmaula
below as you recommended with the mionr change of the second condition must
equal a certain vendor name

=SUMPRODUCT(--('Aug''09'!$A$13:$A$49=$A8),--('Aug''09'!$A$13:$A$49="TVC"),'Aug''09'!$Q$13:$Q$4 9)

Sheet 2 (data Sheet)

Column a = part number
Column B = vendor name
Column q = Spend $$

Sheet 1 is summary sheet

column a = all part numbers
column b = vendors
column c = what the spend is

Maybe I have a formating issue?

Thanks

"Per Jessen" wrote:

Hi

I assume you want to calculate total based on values in Sheet2

In Sheet1 use this formula (headings in row 1):

=Sumproduct(--(Sheet2!A13:A49=A2), --(Sheet2!B13:B49=B2),Sheet2!
C13;C49)

Hopes this helps.
....
Per


On 16 Jul., 01:11, Curtis wrote:
SHeet 2

Column a (rows 13 thru 49) contains products
COlumn c (rows 13 thru 49) contains vendor
Column Q (rows 13 thru 49) contains spend

Sheet 1

Column a contains products
column b contains vendor
column c contains spend

I need a formula that will calculate the toatal spend by product by vendor

thanks





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Sumproduct

If the vendor colunmn is column B, then your ABC test needs to refer to
$B$13:$B$49, not $A$13:$A$49
And if the sheet name is Aug 09, the formula should include 'Aug 09', not
'Aug''09'.
--
David Biddulph

Curtis wrote:
Yes to your first question.... However the formula below give me a
value of 0.

The formual I used is
=SUMPRODUCT(--('Aug''09'!$A$13:$A$49=$A8),--('Aug''09'!$A$13:$A$49="ABC"),'Aug''09'!$Q$13:$Q$4 9)

In sheet I want to know how much money I spent on wigit 1 2 3 by
vendor ABC

Sheet 2 have the widgit type in column 1, the vendor ABC in column b
and the spend in Q... Is it a formatting thing???

Thanks

"Per Jessen" wrote:

Hi

I assume you want to calculate total based on values in Sheet2

In Sheet1 use this formula (headings in row 1):

=Sumproduct(--(Sheet2!A13:A49=A2), --(Sheet2!B13:B49=B2),Sheet2!
C13;C49)

Hopes this helps.
....
Per


On 16 Jul., 01:11, Curtis wrote:
SHeet 2

Column a (rows 13 thru 49) contains products
COlumn c (rows 13 thru 49) contains vendor
Column Q (rows 13 thru 49) contains spend

Sheet 1

Column a contains products
column b contains vendor
column c contains spend

I need a formula that will calculate the toatal spend by product by
vendor

thanks



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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Sumproduct Excel 2007 - SPB Excel Discussion (Misc queries) 10 June 16th 08 05:08 AM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct Farhad Excel Discussion (Misc queries) 1 June 20th 07 10:36 PM
SUMPRODUCT Hardy Excel Discussion (Misc queries) 1 November 24th 05 02:13 PM


All times are GMT +1. The time now is 06:53 AM.

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

About Us

"It's about Microsoft Excel"