Using Countif two criteria

G

Guest

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
 
S

Stephen

Mifty said:
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

Try something like
=SUMPRODUCT((B1:B100="F")*(C1:C100>0))
 
P

Pete_UK

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Countif 1
COUNTIF, Sorting, on Two Sheets 1
Countif 6
Countif formula 2
Countif Problem 3
Countif/Vlookup 2
Sorting and COUNTIF 6
Counting Cells with Multiple Range Criteria (Excel 2003) 7

Top