Countif for a range of values

  • Thread starter Thread starter Reggie
  • Start date Start date
R

Reggie

Hello - It's the incompetent one asking for help yet
again.

I'm trying to count the number of items in a range that
fall between 6 and 12, inclusive.

Jon Walkenbach left that one out of his book.

Any suggestions?
 
Hi Reggie

how about
=COUNTIF(A1:A10,">=" & 6)-COUNTIF(A1:A10,">"& 12)

Cheers
JulieD
 
Hello Ms. Julie.

I finally used this one:

=SUM(COUNTIF(H11:H143,{6,7,8,9,10,11,12}))

Of course, if the range gets much bigger, I'm in a world
of hurt. I'll save your response if that ever happens!

Thanks for answering! Ciao!
Reg
 
Hi Reggie

thanks for the feedback ... glad you found a solution

Cheers
JulieD
 

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