Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Counting for multiple conditions

For the following list

Name Code Rating
Jessica F 5
Cynthia A 3
John E 2
Brad I 4
Aaron G 5

I need to create a list showing Number of people by rating FOR GROUPS of
Codes (so, for example, People A-E who are rated 5, People A-E rated 4,
people H rated 5, etc - see below)

Rating # of people
1
2
3
4
5

I used the following to group the people first, but now I can't figure out
how to add in the rating....
=COUNTIF($D$3:$D$31,"A")+(COUNTIF($D$3:$D$31,"B")) +(COUNTIF($D$3:$D$31,"C"))+(COUNTIF($D$3:$D$31,"D" ))+(COUNTIF($D$3:$D$31,"E"))

Help, please!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Counting for multiple conditions

=SUMPRODUCT((Code={"A","B","C","D","E"})*(Rating=E 1))


"J. Catz." wrote:

For the following list

Name Code Rating
Jessica F 5
Cynthia A 3
John E 2
Brad I 4
Aaron G 5

I need to create a list showing Number of people by rating FOR GROUPS of
Codes (so, for example, People A-E who are rated 5, People A-E rated 4,
people H rated 5, etc - see below)

Rating # of people
1
2
3
4
5

I used the following to group the people first, but now I can't figure out
how to add in the rating....
=COUNTIF($D$3:$D$31,"A")+(COUNTIF($D$3:$D$31,"B")) +(COUNTIF($D$3:$D$31,"C"))+(COUNTIF($D$3:$D$31,"D" ))+(COUNTIF($D$3:$D$31,"E"))

Help, please!!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Counting for multiple conditions

Thanks, teethless, but I'm still getting 0 as the value. This is what I
have now (played around a little). No matter what, I'm returning 0...

=SUMPRODUCT(($D$3:$D$31={"A","B","C","D","E"})*($E $3:$E$31=5)*(COUNT($C$3:$C$31)))

My chart is
Dept Name Grade Rating





"Teethless mama" wrote:

=SUMPRODUCT((Code={"A","B","C","D","E"})*(Rating=E 1))


"J. Catz." wrote:

For the following list

Name Code Rating
Jessica F 5
Cynthia A 3
John E 2
Brad I 4
Aaron G 5

I need to create a list showing Number of people by rating FOR GROUPS of
Codes (so, for example, People A-E who are rated 5, People A-E rated 4,
people H rated 5, etc - see below)

Rating # of people
1
2
3
4
5

I used the following to group the people first, but now I can't figure out
how to add in the rating....
=COUNTIF($D$3:$D$31,"A")+(COUNTIF($D$3:$D$31,"B")) +(COUNTIF($D$3:$D$31,"C"))+(COUNTIF($D$3:$D$31,"D" ))+(COUNTIF($D$3:$D$31,"E"))

Help, please!!

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
Help with counting multiple conditions jstro01 Excel Discussion (Misc queries) 3 April 27th 07 09:50 PM
Need Formulas for counting multiple conditions OrdOff Excel Worksheet Functions 4 July 3rd 05 06:12 PM
Counting Unique Records with multiple conditions Keithlearn Excel Worksheet Functions 4 April 27th 05 12:44 AM
Counting occurrences of multiple conditions Jvanderv1 Excel Discussion (Misc queries) 2 April 6th 05 01:07 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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

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"