Multiple criteria for countif

  • Thread starter Thread starter Dewald
  • Start date Start date
D

Dewald

Hi
I am sitting with a spread that i need to count the number
of people that are between the ages of 29 and 40. i tried
using the countif, but i seem to have done something wrong.

Please give me some ideas
Thanks
 
Try something like

=COUNTIF(A1:A10,"<=40")-COUNTIF(A1:A10,"<29")
 
Using countif you can do

+COUNTIF(A1:A200,">=29")-COUNTIF(A1:A200,">=40")
 

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

Back
Top