Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Using Countif two criteria

Hi Everyone,

I would like to be able to count the number of females with a score in C.
so using Countif how do I say countif B = F and C equals a number?

I'd be grateful for any ideas how to do this.
Could I use Sumproduct as an alternative to countif?

Thanking you in advance
--
Mifty
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Using Countif two criteria

"Mifty" wrote in message
...
Hi Everyone,

I would like to be able to count the number of females with a score in C.
so using Countif how do I say countif B = F and C equals a number?

I'd be grateful for any ideas how to do this.
Could I use Sumproduct as an alternative to countif?

Thanking you in advance
--
Mifty


Try something like
=SUMPRODUCT((B1:B100="F")*(C1:C1000))


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Using Countif two criteria

You can use COUNTIF if you only have one condition. In this case try:

=SUMPRODUCT((B1:B100="F")*(ISNUMBER(C1:C100))

Hope this helps.

Pete

On Nov 19, 10:49 am, Mifty wrote:
Hi Everyone,

I would like to be able to count the number of females with a score in C.
so using Countif how do I say countif B = F and C equals a number?

I'd be grateful for any ideas how to do this.
Could I use Sumproduct as an alternative to countif?

Thanking you in advance
--
Mifty


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Using Countif two criteria

Maybe

=SUMPRODUCT((B1:B20="F")*(ISNUMBER(C1:C20)))

Mike

"Mifty" wrote:

Hi Everyone,

I would like to be able to count the number of females with a score in C.
so using Countif how do I say countif B = F and C equals a number?

I'd be grateful for any ideas how to do this.
Could I use Sumproduct as an alternative to countif?

Thanking you in advance
--
Mifty

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Using Countif two criteria

Thank you to Stephen, Pete and Mike.

Sumproduct seems quite a useful function

Cheers
--
Mifty


"Mifty" wrote:

Hi Everyone,

I would like to be able to count the number of females with a score in C.
so using Countif how do I say countif B = F and C equals a number?

I'd be grateful for any ideas how to do this.
Could I use Sumproduct as an alternative to countif?

Thanking you in advance
--
Mifty



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Using Countif two criteria

Thanks for feeding back - see here for further details on the use of
SUMPRODUCT:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Hope this helps.

Pete

On Nov 19, 11:18 am, Mifty wrote:
Thank you to Stephen, Pete and Mike.

Sumproduct seems quite a useful function

Cheers
--
Mifty



"Mifty" wrote:
Hi Everyone,


I would like to be able to count the number of females with a score in C.
so using Countif how do I say countif B = F and C equals a number?


I'd be grateful for any ideas how to do this.
Could I use Sumproduct as an alternative to countif?


Thanking you in advance
--
Mifty- 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
COUNTIF with various criteria NitaMax Excel Discussion (Misc queries) 6 October 4th 07 10:23 AM
Countif with more than one criteria Joco Excel Discussion (Misc queries) 2 June 14th 07 11:38 AM
CountIf - 2 Criteria [email protected] Excel Discussion (Misc queries) 3 May 14th 07 06:16 PM
Countif using format criteria not number criteria? Rumbla76 Excel Worksheet Functions 1 April 20th 05 05:38 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM


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