Joined
Nov 21, 2016
Messages
37
Hi all,

Wondering if anyone could help.

I have a column of data with values ranging from 0- 30+

I would like to know the number of values between 5-10, 10.1-15, 15.1-20, 20.1-25, 25.1-30, >30

is the are 'countif' statement or something i can produce to find this?

It would be incredibly useful and less time consuming!

Thank you
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Alternately you can also try the COUNTIFS function like this

*ABCD
1Numbers*CriteriaResult
29* 5-10 3
326*10.1-151
422*15.1 - 200
56*20.1-254
614*25.1-306
722*>305
838***
929***
1034***
1138***
1239***
1325***
1428***
157***
1628***
1740***
1830***
1928***
2023***

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
D2=COUNTIFS($A$2:$A$20,">5",$A$2:$A$20,"<=10")
D3=COUNTIFS($A$2:$A$20,">10",$A$2:$A$20,"<=15")
D4=COUNTIFS($A$2:$A$20,">15",$A$2:$A$20,"<=20")
D5=COUNTIFS($A$2:$A$20,">20",$A$2:$A$20,"<=25")
D6=COUNTIFS($A$2:$A$20,">25",$A$2:$A$20,"<=30")
D7=COUNTIFS($A$2:$A$20,">30")

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Last edited:
Upvote 0
You could also possibly use something like this which ..
- Doesn't require individual criteria to be inserted in each formula, so the first formula can just be copied down, and
- Would automatically adjust if you changed the band boundaries without having to adjust the formulas.


Excel 2010 32 bit
ABCD
1NumbersCriteriaResult
295-103
32610.1-151
42215.1 - 200
5620.1-254
61425.1-306
72230.1-5
838
929
1034
1138
1239
1325
1428
157
1628
1740
1830
1928
2023
Groups
Cell Formulas
RangeFormula
D2=COUNTIF(A$2:A$20,">="&LEFT(C2,FIND("-",C2)-1))-SUM(D3:D$8)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,368
Messages
6,124,520
Members
449,169
Latest member
mm424

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top