logo
search
Chart & Visualization Issues

How to Create Excel Histogram Bins with Fixed Five-Point Intervals

Tauseeq MagsiTauseeq Magsi Oct 10, 2026 869 views

Question details

The user wants to create a histogram in Excel with custom fixed five-point intervals (0% to 100%) rather than relying on Excel's default automatic bin generation.

How to Create Excel Histogram Bins with Fixed Five-Point Intervals
Product
Microsoft Excel
Device & OS
not provided
Scenario
Visualizing percentage data in a histogram with specific, consistent bin limits.
Observed behavior
Excel automatically calculates histogram bins based on the dataset's range, preventing the chart from reflecting the exact five-point percentage intervals desired by the user.
Before you start

Ensure your percentage data is organized in a single column without empty cells, and manually define your exact boundary values (e.g., 5%, 10%, 15% up to 100%) in a separate column before proceeding.

Solution 1Recommended

Use the FREQUENCY Function and a Column Chart to Create Custom Histogram Bins

Manually defining bins and calculating occurrences with the FREQUENCY function gives you exact control over interval boundaries, allowing you to turn a standard column chart into an accurate histogram.

While Excel's built-in Histogram chart is convenient, it can sometimes be difficult to force it into exact predetermined intervals, especially for percentage data. Using the FREQUENCY function alongside a column chart guarantees precise control over the bin limits.

1
Define Custom Bin Limits

In an empty column, type your custom limits. For five-point intervals, type 0%, 5%, 10%, 15%, etc., down to 100%.

2
Calculate the Frequency

In the adjacent column, select a range of cells equivalent to your bins. Type the formula =FREQUENCY(data_array, bins_array) replacing data_array with your raw data and bins_array with the limits you just typed. Press Ctrl+Shift+Enter if using an older version of Excel.

3
Insert a Column Chart

Highlight the resulting frequency values and your bin limits. Go to the Insert tab on the ribbon and select a 2D Clustered Column Chart.

4
Format as a Histogram

Right-click one of the bars in the newly created chart and select 'Format Data Series'. In the panel that opens, set Series Overlap to 100% and Gap Width to 0%. This will eliminate the spaces between the columns, creating a true histogram.

Use the FREQUENCY Function and a Column Chart to Create Custom Histogram Bins
Formatting Chart Axis: To make the chart visually clearer, you can right-click the horizontal axis, select Format Axis, and adjust the labels or add a solid border around the bars in the Format Data Series pane.
Data Visualization in WPS

Easily Create and Format Custom Histograms in WPS Spreadsheet

WPS Spreadsheet offers powerful data analysis tools and highly customizable charting options. You can easily calculate frequency distributions and precisely format column charts to visualize percentage data effectively.

  1. 1. Open Your Data: Launch WPS Spreadsheet and open the document containing your percentage data.
  2. 2. Set Up Bin Limits: Type your customized five-point interval limits (0.05, 0.10, 0.15) into a new column.
  3. 3. Use the FREQUENCY Formula: Select the adjacent cells and input the =FREQUENCY function to count occurrences across your custom intervals.
  4. 4. Insert and Format Chart: Highlight the results, navigate to the Insert tab, click Chart, choose a Column chart, and adjust the Gap Width to 0% in the side panel.
Fully compatible with Microsoft Excel (.xlsx) formats and standard spreadsheet formulas.Supports the FREQUENCY function for advanced statistical data analysis.Intuitive chart formatting pane to instantly adjust Gap Width and Series Overlap.Free, lightweight, and fast alternative for professional data visualization.
microsoft office alternative - wps office

Frequently Asked Questions

Can I adjust bin sizes in Excel's default Histogram chart tool?

Yes. If you insert a default Histogram chart, right-click the horizontal axis, and select Format Axis. Under Axis Options, select 'Bin width' and manually enter your desired interval (e.g., 0.05 for a 5% interval). However, this might not perfectly align with specific start and end points like 0% to 100%.

Why does the FREQUENCY function return one extra value?

The FREQUENCY function always generates an array that is one item larger than your bins array. This final item represents the count of all values that are strictly greater than the maximum interval specified in your bins list.

How do I format decimal bins as percentages on the chart axis?

If your bins are appearing as decimals (e.g., 0.05 instead of 5%), right-click the axis in your chart, choose Format Axis, navigate to the Number section, select 'Percentage' from the category dropdown, and adjust the decimal places to 0.