Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Excel count with 2 conditions

I'm sure this is an easy one for you but I just can't get it to work
correctly. I have a spreadsheet that I want to count certain criteria.
Example:
A B C
Name Gender Score
Calvin M 3
William M 4
Jessica F 1
Sarah F 3
Bryan M 1
Anna F 3

I need to how many females scored a 3. What would you suggest I use for a
formula?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Excel count with 2 conditions

=SUMPRODUCT(--(B1:B6="F")*(C1:C6=3))

"janet" wrote:

I'm sure this is an easy one for you but I just can't get it to work
correctly. I have a spreadsheet that I want to count certain criteria.
Example:
A B C
Name Gender Score
Calvin M 3
William M 4
Jessica F 1
Sarah F 3
Bryan M 1
Anna F 3

I need to how many females scored a 3. What would you suggest I use for a
formula?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Excel count with 2 conditions

On Dec 23, 2:39*pm, Mike wrote:
=SUMPRODUCT(--(B1:B6="F")*(C1:C6=3))

"janet" wrote:
I'm sure this is an easy one for you but I just can't get it to work
correctly. *I have a spreadsheet that I want to count certain criteria. *
Example:
* *A * * * * * B * * * * * *C
Name * * *Gender * * Score
Calvin * * * M * * * * * *3
William * * M * * * * * *4
Jessica * * *F * * * * * *1
Sarah * * * F * * * * * * 3
Bryan * * * *M * * * * * *1
Anna * * * * F * * * * * * 3


I need to how many females scored a 3. *What would you suggest I use for a
formula? *


Just curious, what does the "--" in the formula do?
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
Count rows that meet 2 conditions in Excel 2007 Jason Stearns Excel Worksheet Functions 4 October 1st 09 12:21 AM
Excel 2003 count if multple conditions apply Josie Excel Worksheet Functions 2 January 22nd 09 03:15 PM
COUNT IF - 2 conditions Darrren Excel Discussion (Misc queries) 4 December 10th 08 10:50 AM
How Do I have excel count 2 cells with conditions (Excel 2003) Dave New Users to Excel 4 December 19th 05 06:37 PM
Count function in excel with different conditions chits Excel Worksheet Functions 1 January 21st 05 07:32 AM


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