# Putting Numbers into Ranges

#### mhendo1

##### New Member
I am looking for help

I have a around 50 different percentages which all vary from 15% - 100%

I am looking for a way to put these into ranges of 0-25%, 25-50%, 50-75%,75-100%

and then reflect this onto a chart.

Can someone help out?

regards,

### Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Put this formula

Code:
``=IF(AND(A2>=0%,A2<=25%),"0-25%",IF(AND(A2>25%,A2<=50%),"25-50%",IF(AND(A2>50%,A2<75%),"50-75%",IF(AND(A2>=75%,A2<=100%),"75-100%"))))``
adjacent to your data draw a pivot and make a chart, you can also use pivot table grouping to group percentage in certain intervals.

Small change
Code:
``````[TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl63, width: 111"]IF(AND(A2>=0%,A2<=25%),"0-25%",IF(AND(A2>25%,A2<=50%),"25-50%",IF(AND(A2>50%,A2<=75%),"50-75%",IF(AND(A2>75%,A2<=100%),"75-100%"))))[/TD]
[/TR]
</tbody>[/TABLE]``````

I am looking for a way to put these into ranges of 0-25%, 25-50%, 50-75%,75-100%

Couple of other options depending on where you want to place the percentages that are exactly 25%, 50% or 75%

Excel 2013
ABC
215%0-25%0-25%
325%0-25%25-50%
427%25-50%25-50%
550%25-50%50-75%
651%50-75%50-75%
775%50-75%75-100%
885%75-100%75-100%
Sheet2
Cell Formulas
RangeFormula
B2=CHOOSE(ROUNDUP(A2/0.25,0),"0-25%","25-50%","50-75%","75-100%")
C2=LOOKUP(A2,{0,0.25,0.5,0.75},{"0-25%","25-50%","50-75%","75-100%"})

Replies
4
Views
175
Replies
1
Views
233
Replies
3
Views
332
Replies
13
Views
196
Replies
1
Views
126

1,216,099
Messages
6,128,822
Members
449,469
Latest member
Kingwi11y

### 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?

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