Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Can I use sumproduct for this?

is there a way i can use sumproduct or some other formula to data from the
following table for multiple criteria:
Associate Month Quest 1 Quest 2 Quest 3
A jan 10 10 10
B jan 9 9
9
B feb 8 8
8
B mar 9 8
8
C jan 7 7
6
C feb 10 10 10
C feb 10 10
10

specifically what i need to do is count the # of times associate C
has entries for Feb and return the totl # of all questions and the total
of all questions sumed up. The answer for associate C for Feb would be
6 questions for a total of 30. i know this will require 2 different formulas
in 2 separate cells, but that is ok.





--
joec
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Can I use sumproduct for this?

To me, it looks like 6 questions totaling 60, not 30!

If the months are text entries, try this:

=Sumproduct((A2:A8="C")*(B2:B8="feb")*C2:E8)


--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"joec" wrote in message
...
is there a way i can use sumproduct or some other formula to data from the
following table for multiple criteria:
Associate Month Quest 1 Quest 2 Quest 3
A jan 10 10
10
B jan 9 9
9
B feb 8 8
8
B mar 9 8
8
C jan 7 7
6
C feb 10 10
10
C feb 10 10
10

specifically what i need to do is count the # of times associate C
has entries for Feb and return the totl # of all questions and the total
of all questions sumed up. The answer for associate C for Feb would be
6 questions for a total of 30. i know this will require 2 different
formulas
in 2 separate cells, but that is ok.





--
joec



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Can I use sumproduct for this?

This will give you the count of questions (6):

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*((C2:C8<0)+ (D2:D8<0)+
(E2:E8<0)))

Not sure why you think the total should be 30 - is it not 60? This one
gives an answer of 60:

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*(C2:C8+D2:D8 +E2:E8))

Hope this helps.

Pete

On Feb 21, 11:09*pm, joec wrote:
is there a way i can use sumproduct or some other formula to data from the
following table for multiple criteria:
* * * * Associate * * * Month * * * *Quest 1 * * Quest 2 * *Quest 3
* * * * * * * A * * * * * * * jan * * * * * * 10 * * * * * * 10 * * * * * *10
* * * * * * * B * * * * * * * jan * * * * * * * 9 * * * * * * * 9 * * * * * *
* 9
* * * * * * * B * * * * * * * feb * * * * * * * 8 * * * * * * * 8 * * * * * *
* 8 *
* * * * * * * B * * * * * * * mar * * * * * * 9 * * * * * * * *8 * * * * * *
*8
* * * * * * * C * * * * * * * jan * * * * * * * 7 * * * * * * * 7 * * * * * *
* 6
* * * * * * * C * * * * * * * feb * * * * * * *10 * * * * * * 10 * * * * * *10
* * * * * * * C * * * * * * * feb * * * * * * *10 * * * * * * 10 * * * * * *
10

specifically what i need to do is *count the # of times associate C
has entries for Feb and return the totl # of all questions and the total
of all questions sumed up. The answer for associate C for Feb would be
6 questions for a total of 30. i know this will require 2 different formulas
in 2 separate cells, but that is ok.

--
joec


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Can I use sumproduct for this?

works great thanks!!!
--
joec


"Pete_UK" wrote:

This will give you the count of questions (6):

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*((C2:C8<0)+ (D2:D8<0)+
(E2:E8<0)))

Not sure why you think the total should be 30 - is it not 60? This one
gives an answer of 60:

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*(C2:C8+D2:D8 +E2:E8))

Hope this helps.

Pete

On Feb 21, 11:09 pm, joec wrote:
is there a way i can use sumproduct or some other formula to data from the
following table for multiple criteria:
Associate Month Quest 1 Quest 2 Quest 3
A jan 10 10 10
B jan 9 9
9
B feb 8 8
8
B mar 9 8
8
C jan 7 7
6
C feb 10 10 10
C feb 10 10
10

specifically what i need to do is count the # of times associate C
has entries for Feb and return the totl # of all questions and the total
of all questions sumed up. The answer for associate C for Feb would be
6 questions for a total of 30. i know this will require 2 different formulas
in 2 separate cells, but that is ok.

--
joec



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Can I use sumproduct for this?

Compact Formulae

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*(C2:E8<0))

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*(C2:E8))


"Pete_UK" wrote:

This will give you the count of questions (6):

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*((C2:C8<0)+ (D2:D8<0)+
(E2:E8<0)))

Not sure why you think the total should be 30 - is it not 60? This one
gives an answer of 60:

=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*(C2:C8+D2:D8 +E2:E8))

Hope this helps.

Pete

On Feb 21, 11:09 pm, joec wrote:
is there a way i can use sumproduct or some other formula to data from the
following table for multiple criteria:
Associate Month Quest 1 Quest 2 Quest 3
A jan 10 10 10
B jan 9 9
9
B feb 8 8
8
B mar 9 8
8
C jan 7 7
6
C feb 10 10 10
C feb 10 10
10

specifically what i need to do is count the # of times associate C
has entries for Feb and return the totl # of all questions and the total
of all questions sumed up. The answer for associate C for Feb would be
6 questions for a total of 30. i know this will require 2 different formulas
in 2 separate cells, but that is ok.

--
joec





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Can I use sumproduct for this?

You're welcome - thanks for feeding back.

Pete

On Feb 22, 1:26*am, joec wrote:
works great thanks!!!
--
joec



"Pete_UK" wrote:
This will give you the count of questions (6):


=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*((C2:C8<0)+ (D2:D8<0)+
(E2:E8<0)))


Not sure why you think the total should be 30 - is it not 60? This one
gives an answer of 60:


=SUMPRODUCT((A2:A8="C")*(B2:B8="Feb")*(C2:C8+D2:D8 +E2:E8))


Hope this helps.


Pete


On Feb 21, 11:09 pm, joec wrote:
is there a way i can use sumproduct or some other formula to data from the
following table for multiple criteria:
* * * * Associate * * * Month * * * *Quest 1 * * Quest 2 * *Quest 3
* * * * * * * A * * * * * * * jan * * * * * * 10 * * * * * * 10 * * * * * *10
* * * * * * * B * * * * * * * jan * * * * * * * 9 * * * * * * * 9 * * * * * *
* 9
* * * * * * * B * * * * * * * feb * * * * * * * 8 * * * * * * * 8 * * * * * *
* 8 *
* * * * * * * B * * * * * * * mar * * * * * * 9 * * * * * * * *8 * * * * * *
*8
* * * * * * * C * * * * * * * jan * * * * * * * 7 * * * * * * * 7 * * * * * *
* 6
* * * * * * * C * * * * * * * feb * * * * * * *10 * * * * * * 10 * * * * * *10
* * * * * * * C * * * * * * * feb * * * * * * *10 * * * * * * 10 * * * * * *
10


specifically what i need to do is *count the # of times associate C
has entries for Feb and return the totl # of all questions and the total
of all questions sumed up. The answer for associate C for Feb would be
6 questions for a total of 30. i know this will require 2 different formulas
in 2 separate cells, but that is ok.


--
joec- Hide quoted text -


- Show quoted text -


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
need some help on sumproduct dinadvani via OfficeKB.com Excel Discussion (Misc queries) 4 November 2nd 06 04:52 AM
SUMPRODUCT--what else?? Dave F Excel Discussion (Misc queries) 4 October 31st 06 07:17 PM
Sumproduct? imjustme Excel Discussion (Misc queries) 1 September 7th 05 03:43 AM
Like Sumproduct, But Different ericsh Excel Worksheet Functions 6 August 11th 05 05:49 PM


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