longtalker
New Member
- Joined
- Jan 31, 2009
- Messages
- 28
Hello everyone,
Say I have a spreadsheet that contains the ages (rounded to integer number of years) of a bunch of people.
How can I create a histogram like this one, that has bins of the form 18-30, 31-43, 44-....., so in other words ranges of ages, rather than the Histogram tool's (Analysis ToolPak) default, which seems to be that each bin is *one* discrete value?
I know you can have text labels for the horizontal axis ("18-30", ...) but what I don't know is how you can make the Histogram tool understand that it should bin the frequencies in those numerical ranges, since the ranges would need to be stored as text in order for them to act as labels.
It would, of course, be fairly simple to do this in several steps (calculate the frequency of each age, then manually do a Column bar chart etc), but I'd like to be able to do in one step, using the Histogram tool (or some other, equally simple, way).
Many thanks in advance for any suggestions!
Say I have a spreadsheet that contains the ages (rounded to integer number of years) of a bunch of people.
How can I create a histogram like this one, that has bins of the form 18-30, 31-43, 44-....., so in other words ranges of ages, rather than the Histogram tool's (Analysis ToolPak) default, which seems to be that each bin is *one* discrete value?
I know you can have text labels for the horizontal axis ("18-30", ...) but what I don't know is how you can make the Histogram tool understand that it should bin the frequencies in those numerical ranges, since the ranges would need to be stored as text in order for them to act as labels.
It would, of course, be fairly simple to do this in several steps (calculate the frequency of each age, then manually do a Column bar chart etc), but I'd like to be able to do in one step, using the Histogram tool (or some other, equally simple, way).
Many thanks in advance for any suggestions!