Grouping

J

Jackie

I have to come up with a count of numbers which fall into
certain ranges: 0 - 1.0, 1.1-4.0, >4.0. Short of sorting
by that field and manually counting, how can I do this?
Thanks for any help.
 
T

Ture Magnusson

Jackie,

Assuming that your list of numbers is in A1:A50...

1. Enter 0, 1.1 and 4.0 in B1, B2 and B3
2. Enter this formula in C1
=COUNTIF(A$1:$A$50,">="&B1)-COUNTIF($A$1:$A$50,">="&B2)
3. Copy the formula from C1 and paste int C2 and C3
 
J

Jackie

It works! Thanks so much.
-----Original Message-----
Jackie,

Assuming that your list of numbers is in A1:A50...

1. Enter 0, 1.1 and 4.0 in B1, B2 and B3
2. Enter this formula in C1
=COUNTIF(A$1:$A$50,">="&B1)-COUNTIF ($A$1:$A$50,">="&B2)
3. Copy the formula from C1 and paste int C2 and C3

--
Ture Magnusson
Microsoft MVP - Excel
Karlstad, Sweden




.
 

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