Counif using a range

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If I have a list of amounts, what's the syntax to use to count the times a range of values appears

e.g. I need to know the formula for the ?'

Data (on sheet1

1



1
2
5
2

3

Calculations (on sheet2

Under 10 10-20 20-30 Over 3
countif(A:A,"<11") ? ? countif(A:A,">30")
 
Hi

Try
=COUNTIF(A:A,">=10")-COUNTIF(A:A">20")
and
=COUNTIF(A:A,">=20")-COUNTIF(A:A">30")

--
Andy.


cdb said:
If I have a list of amounts, what's the syntax to use to count the times a range of values appears?

e.g. I need to know the formula for the ?'s

Data (on sheet1)

12
2
5
9
19
23
54
25
4
35

Calculations (on sheet2)

Under 10 10-20 20-30 Over 30
countif(A:A,"<11") ? ?
countif(A:A,">30")
 
Cheers

That seems to work fine

----- Andy B wrote: ----

H

Tr
=COUNTIF(A:A,">=10")-COUNTIF(A:A">20"
an
=COUNTIF(A:A,">=20")-COUNTIF(A:A">30"

--
Andy


cdb said:
If I have a list of amounts, what's the syntax to use to count the times range of values appears 3
countif(A:A,"<11") ?
countif(A:A,">30"
 

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