COUNT Function

D

Dan

I have a range in cells B4:B50 that contain either M
(male) or F (female). In range C4:C50 is the age of each
person. I am looking for the formula to count the number
of M's over 17.
Can anyone help me out with this?
 
D

Dave R.

Surely;

=sumproduct((b4:b50="m")*(c4:c50>17))

if you really mean "17 or older" add a '=' before the 17.
 

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

Top