How to Create a Histogram in Excel

How to Create a Histogram in Excel

One of the first things I learned when analyzing survey response data was that a bar chart of individual responses tells you almost nothing about the overall pattern — but grouping those responses into ranges and plotting the frequency of each range? That’s when the shape of the data actually reveals itself. That’s exactly what a histogram does, and it’s become one of my go-to charts whenever I want to understand how a dataset is distributed rather than just what its individual values are.

What Is a Histogram?

A histogram is a chart that groups continuous numeric data into ranges, called “bins,” and displays the frequency (count) of data points that fall into each bin as a bar. Unlike a regular bar chart, which compares distinct categories, a histogram shows the shape of a single continuous variable’s distribution — whether it’s roughly normal (bell-shaped), skewed to one side, or has multiple peaks.

When Should You Use a Histogram?

I reach for histograms when:

  • I want to understand the distribution shape of a continuous numeric variable (ages, scores, measurements, response times)
  • I need to spot skewness, clustering, or gaps in a dataset
  • I’m checking whether data appears roughly “normal” for statistical analysis purposes
  • I want to quickly see where most of the data concentrates versus where it’s sparse

If your data is categorical (like product types or regions) rather than continuous numeric values, a regular bar chart is the better choice — histograms are specifically for numeric distributions.

Required Data Structure

You just need a single column of raw numeric values — no pre-grouping required, since Excel bins the data automatically. Here’s an example of raw exam scores:

Score
78
85
91
67
88
72
95
60
83
90

Just a plain list — the more data points you have, the more meaningful the resulting distribution shape will be.

Step-by-Step Instructions

Here’s exactly how I build one:

  1. Enter your raw numeric data in a single column.
  2. Select the data range, including the header.
  3. Go to the Insert tab.
  4. In the Charts group, click Insert Statistic Chart.
  5. Choose Histogram.
  6. Excel automatically determines bin ranges and plots the frequency of data points within each bin.

Formatting and Settings I Adjust

Once the chart appears, here’s what I always fine-tune:

  • Bin width: Right-click the horizontal axis, choose Format Axis, and under Bin Width, set a specific interval (e.g., group scores into bins of 10) rather than relying on Excel’s automatic binning, which isn’t always intuitive.
  • Number of bins: Alternatively, you can set a fixed Number of Bins instead of a width, if you want a specific count of bars regardless of the data range.
  • Overflow and underflow bins: If you have outliers, Format Axis lets you set an Overflow bin (e.g., “greater than 100”) and Underflow bin (e.g., “less than 0”) to group extreme values separately rather than stretching the whole axis to accommodate them.
  • Gap width: Under Format Data Series, I sometimes reduce the gap width between bars to zero, which is the traditional look for histograms (bars touching, unlike standard bar charts).

A Practical Example

Say I’m analyzing exam scores for a class of 40 students. Plotting a histogram with bins of 10 points (0-10, 11-20, and so on) instantly reveals whether most students scored in the 70-90 range with a few low outliers, or whether the scores were split into two separate clusters — maybe suggesting two different study groups performed very differently. That kind of insight simply isn’t visible from a list of raw scores or even from an average score alone.

Common Mistakes to Avoid

Mistakes I’ve made or seen:

  • Leaving bin width on default: Excel’s automatic binning is sometimes too coarse or too fine for your specific data — always check whether a manually set bin width tells a clearer story.
  • Too few data points: With fewer than about 20-30 values, a histogram’s shape can look choppy and unreliable. Small datasets are better shown as a simple list or dot plot.
  • Ignoring outliers: A single extreme value can stretch the axis and compress all your meaningful bars into a tiny corner — use overflow/underflow bins to handle this.
  • Confusing histograms with bar charts: Remember, histogram bars represent numeric ranges of a single continuous variable, not separate categories — don’t use a histogram for comparing distinct groups like “Region A vs Region B.”

Troubleshooting Tips

If your histogram isn’t behaving:

  • “Histogram” option missing: This chart type requires Excel 2016 or later under Insert Statistic Chart. Update Office if it’s unavailable.
  • Bars look too jagged or too smooth: Adjust the Bin Width under Format Axis — wider bins smooth out noise, narrower bins reveal more detail (but can look choppy with limited data).
  • One bar is disproportionately tall: This usually means a lot of your data clusters in one range — verify this isn’t a data entry error by spot-checking the raw values.
  • Axis labels look messy: Excel labels bins with their range (e.g., “70-80”) — if these look cluttered, try widening the chart or adjusting the axis label rotation under Format Axis.

Real-World Use Cases

I’ve used histograms for:

  • Analyzing exam or test score distributions for a class or cohort
  • Reviewing customer response time distributions for a support team
  • Checking whether manufacturing measurements fall within expected tolerances
  • Understanding age or income distribution in survey or demographic data

Best Practices

Before I finalize a histogram, I always check:

  • Bin width is set intentionally, not just left on Excel’s automatic default
  • The dataset has enough data points (ideally 30+) for the shape to be statistically meaningful
  • Outliers are handled thoughtfully using overflow/underflow bins rather than distorting the whole chart
  • The chart title and axis labels clearly explain what’s being measured and in what units
  • I’ve compared a couple of different bin widths to see which one best reveals the underlying pattern

Histograms are one of the simplest yet most revealing charts you can build in Excel — they turn a flat list of numbers into a visible shape that tells you immediately whether your data is balanced, skewed, or clustered. Once you get comfortable adjusting bin width, you’ll find histograms becoming a default first step in almost any numeric data analysis.

Total
3
Shares

Leave a Reply

Previous Post
How to Create a Data Table in Excel

How to Create a Data Table in Excel

Next Post
How to Create a Box and Whisker Plot in Excel

How to Create a Box and Whisker Plot in Excel

Related Posts