Create a histogram with variable bin widths in Numbers

In Numbers, instead of equally sized bins (column bars) how can I create a histogram with variable sized bins?


Here's an example set of data. As you can see, the value in 'Bin Width' varies.


How can I create a histogram where each bar's width is determined by the value in Bin Width?


iPad Air, iPadOS 26

Posted on Mar 9, 2026 4:24 PM

Reply
3 replies

Mar 9, 2026 7:59 PM in response to Camelot

For example, I've created a random table of 100 people's ages. Just the same as the demographic polls you get with products you would buy.


One table contains the age ranges and the quantity of responses in each range. As you'll notice, each range isn't uniform. So, each histogram cell should have a different width to reflect the size of the age range.

As you can see, each age range has a different amount. So, each bin width is also.


Now, to accurately reflect each age range's size, each histogram column would have a width relative to each age range.


That varying bin width of each histogram column should be in proportion to each range.


The checkbox is a clever trick I put in to force a recalculation of first, new random ages in the Rand # column which then recalculates the Frequency of each range.


These pictures should help explain.


Create a histogram with variable bin widths in Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.