I have a set of data that I would like to create bins. For example, 45, 23, and 10 will fall in the 0-49 bin. I created the histogram but am struggling in changing the ranges to display as the bins as the ranges below.
Data:
45
23
897
456
123
10
Bins
0 - 49
50 - 99
100 - 175
176 - 299
300 - 999
1000 - 4999
[TABLE="width: 384"]
<tbody>[TR]
[TD]Data
[/TD]
[TD]
[/TD]
[TD]Bins
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]45
[/TD]
[TD]
[/TD]
[TD]0
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]23
[/TD]
[TD]
[/TD]
[TD]49
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]Frequency
[/TD]
[/TR]
[TR]
[TD]897
[/TD]
[TD]
[/TD]
[TD]50
[/TD]
[TD]
[/TD]
[TD]49
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]456
[/TD]
[TD]
[/TD]
[TD]99
[/TD]
[TD]
[/TD]
[TD]50
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]123
[/TD]
[TD]
[/TD]
[TD]100
[/TD]
[TD]
[/TD]
[TD]99
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]
[/TD]
[TD]175
[/TD]
[TD]
[/TD]
[TD]100
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD]
[/TD]
[TD]176
[/TD]
[TD]
[/TD]
[TD]175
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD]
[/TD]
[TD]299
[/TD]
[TD]
[/TD]
[TD]176
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD]
[/TD]
[TD]300
[/TD]
[TD]
[/TD]
[TD]299
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD]
[/TD]
[TD]999
[/TD]
[TD]
[/TD]
[TD]300
[/TD]
[TD]0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