#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default sumproduct help

Everythi9ng I have looked at has been about multiplying is the below possible?


I have a summary tab and a data tab

I want to count all examples in K7:K9999 (Data Tab) when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



I want to add up the total of $ in !DataQ7:Q9999 when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default sumproduct help

Sumproduct only works if you have equal ranges, so I'm hoping this does what
you'd like. Otherwise, you're looking for countif and sumif...

=sumproduct(--(Data!K7:K9999=Summary!A10),--(Data!AE7:AE9999=Summary!A10))

will count those values. If column AE is a text field, it will return with a
count. If AE is numerical and K is text, just switch them. If neither, then
enter a third column with no criteria: --(Data!AB7:AB9999)

For the second, it's

=sumproduct(--(Data!K7:K9999=Summary!A10),--(Data!AE7:AE9999=Summary!A10),--(Data!Q7:Q9999)

Because column Q is numeric, you will automatically receive a sum.

HTH!

"Jeremy" wrote:

Everythi9ng I have looked at has been about multiplying is the below possible?


I have a summary tab and a data tab

I want to count all examples in K7:K9999 (Data Tab) when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



I want to add up the total of $ in !DataQ7:Q9999 when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default sumproduct help

Follow up questions:

I was told to use sumproduct, if you can help with a countif and a sumif,
that would be great

Do the dashes mean I need to inout something else? I get a #REF error when
i type in the first formula

"Sean Timmons" wrote:

Sumproduct only works if you have equal ranges, so I'm hoping this does what
you'd like. Otherwise, you're looking for countif and sumif...

=sumproduct(--(Data!K7:K9999=Summary!A10),--(Data!AE7:AE9999=Summary!A10))

will count those values. If column AE is a text field, it will return with a
count. If AE is numerical and K is text, just switch them. If neither, then
enter a third column with no criteria: --(Data!AB7:AB9999)

For the second, it's

=sumproduct(--(Data!K7:K9999=Summary!A10),--(Data!AE7:AE9999=Summary!A10),--(Data!Q7:Q9999)

Because column Q is numeric, you will automatically receive a sum.

HTH!

"Jeremy" wrote:

Everythi9ng I have looked at has been about multiplying is the below possible?


I have a summary tab and a data tab

I want to count all examples in K7:K9999 (Data Tab) when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



I want to add up the total of $ in !DataQ7:Q9999 when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default sumproduct help

You would also need ' around the name, so 'Summary'! instead of Summary!

IF you want where 'Data'!AE7 = 'Summary'!$C$1, then

=if('Data'!AE7 = 'Summary'!$C$1,count(K7:K9999))

and

=sumif('Data'!AE7,'Summary'!$C$1,'Data'!Q7:Q9999 )

"Jeremy" wrote:

Follow up questions:

I was told to use sumproduct, if you can help with a countif and a sumif,
that would be great

Do the dashes mean I need to inout something else? I get a #REF error when
i type in the first formula

"Sean Timmons" wrote:

Sumproduct only works if you have equal ranges, so I'm hoping this does what
you'd like. Otherwise, you're looking for countif and sumif...

=sumproduct(--(Data!K7:K9999=Summary!A10),--(Data!AE7:AE9999=Summary!A10))

will count those values. If column AE is a text field, it will return with a
count. If AE is numerical and K is text, just switch them. If neither, then
enter a third column with no criteria: --(Data!AB7:AB9999)

For the second, it's

=sumproduct(--(Data!K7:K9999=Summary!A10),--(Data!AE7:AE9999=Summary!A10),--(Data!Q7:Q9999)

Because column Q is numeric, you will automatically receive a sum.

HTH!

"Jeremy" wrote:

Everythi9ng I have looked at has been about multiplying is the below possible?


I have a summary tab and a data tab

I want to count all examples in K7:K9999 (Data Tab) when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



I want to add up the total of $ in !DataQ7:Q9999 when the following
conditions are met:

!DataAE7=!Summary$C$1
!DataK7=!Summary$A$10



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
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct Jerry Kinder New Users to Excel 7 March 9th 06 07:36 PM
sumproduct erik550 Excel Discussion (Misc queries) 1 March 7th 06 07:45 PM
sumproduct John997 Excel Discussion (Misc queries) 6 March 6th 06 11:55 PM
Sumproduct? teeb Excel Discussion (Misc queries) 6 February 6th 06 09:26 PM


All times are GMT +1. The time now is 05:19 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"