Countif formula with multiple criteria ie >30 and <60?

D

Dali

What is the syntax for writing a CountIf formula to find items that are >30
and <60 from a range of numbers?

I tried =COUNTIF(Days_to_Process_Query!$D$2:$D$20840,">60 and <=90") and it
doesn't work.
 
D

Dave R.

The numbers in your sentence don't match those in the formula, but one way
is to count the number greater than 30 then subtract the number greater than
60.

=COUNTIF(A1:A100,">30")-COUNTIF(A1:A100,">60")
 

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