Excel gives you three ways to make a histogram, and the fastest one isn't the one most tutorials show. If you're on Microsoft 365, Excel 2019, 2021, or 2024, the built-in Histogram chart type draws one from raw data in about four clicks. Excel 2016 and earlier have no histogram chart at all, so you build one from the Data Analysis ToolPak's Histogram tool or from a FREQUENCY array, and that version gap is why half the instructions online send you looking for a button that isn't on your ribbon. The other thing worth knowing before you start: Excel's automatic bins can mislead you, and the fix takes one right-click.
Which of Excel's Three Histogram Routes Fits Your Version
Your Excel version decides the method, and the check takes five seconds. Click File > Account and look at the product name; anything labeled Microsoft 365, Excel 2019, Excel 2021, or Excel 2024 has the built-in chart. If the About box says Excel 2016 or 2013, skip the chart route entirely.
The three routes differ in output, not just convenience. The chart type produces a live picture that updates when your data changes. The ToolPak produces a static summary table you then chart yourself. The FREQUENCY formula produces a spill range that recalculates on edit and gives you the most control over bin edges.
| Route | Excel versions | Where it lives | Output | Updates with data? |
|---|---|---|---|---|
| Histogram chart | 2016* and later | Insert > Charts > Histogram icon | Chart object | Yes |
| Data Analysis ToolPak | All Windows versions; Mac 2016 and later | Data tab > Data Analysis | Static table | No |
| FREQUENCY array | All versions | Formula bar | Spill range (365) or array (legacy) | Yes |
*Microsoft's documentation notes the histogram chart type arrived with Excel 2016, but the chart icon is missing or limited in some Excel 2016 builds; the reliable cutoff is Microsoft 365 or Excel 2019 and later.
Pick by what you'll do next. If the histogram is for a slide or a quick look, use the chart. If you need bin counts to feed another formula, use FREQUENCY. If you're on an old perpetual license and just need the table once, the ToolPak is quickest.
Prepare the Data: What Must Be True Before Any Chart Works
Every histogram method fails the same way with dirty data: blank cells and text inside the numeric range get silently ignored, so your counts come out low and nothing warns you. Select your column and check the status bar's Count against the row count before you chart anything.
Numbers stored as text are the most common culprit. A column imported from a CSV or pasted from a web page often holds values that look numeric but align left in the cell. Select the column, open Data > Text to Columns, and click Finish without changing any settings; Excel coerces the values to real numbers in one pass.
Histograms are for one variable. If your table has a category column and a value column, chart only the value column; a histogram of two mixed groups either merges them into a meaningless shape or needs one chart per group. Delete or filter blanks rather than leaving them in the range, because Excel's automatic bin count is calculated from the numeric values it actually finds, and hidden gaps shift the bin width.
Keep a clean copy of the raw column on its own sheet. Every method below reads from that range, and if you sort or filter the source later, a chart built on it re-draws from whatever rows remain visible.
Build the Chart in Four Clicks (Microsoft 365 and Excel 2019+)
This is the route to use if your version qualifies, and it's the one the H1 promised: four clicks gets you a working histogram. Select any single cell inside your numeric column, then click Insert, then the Histogram icon in the Charts group (it sits with the statistical charts), then the first thumbnail, labeled Histogram. Excel reads the surrounding range automatically and draws the chart with its own bin choices.
The failure case here is real: if your data sits next to other columns, Excel may grab the wrong range or treat a header as a data point. Check the plotted shape against your values; if it looks wrong, right-click the chart, choose Select Data, and set the range by hand, excluding the header row.
The default output is a frequency histogram: bars show counts per bin, with gaps between bars that Excel adds by default. To close the gaps (the convention for continuous data), right-click a bar, choose Format Data Series, and set Gap Width to 0%. To show percentages instead of counts, right-click the horizontal axis, choose Format Axis, and tick Percentage under the axis options.
If the chart comes out empty or flat, the selected range probably contains text or the column is entirely blank in the visible rows. Re-select the range explicitly through Select Data and confirm the status bar count matches your expectation before troubleshooting further.
The Bin Width Setting That Decides Whether Your Histogram Tells the Truth
Excel's automatic bins are the single biggest source of misleading histograms, and the control that fixes them hides in a right-click menu. Right-click the horizontal axis, choose Format Axis, and the Axis Options pane shows three choices: Automatic, Bin width, and Number of bins. Automatic is the default and it guesses.
The guess is usually fine for roughly symmetric data and badly wrong for skewed data, because Excel picks bins from the range and count, not the shape. A long tail on the right can produce so many narrow bins that the main cluster becomes a single spike, or so few wide bins that two real peaks merge into one.
The practical rule: set Number of bins first, using the square root of your observation count rounded up, or Sturges' rule (1 + 3.322 × log10 of n, rounded up). For 200 rows, the square root rule gives 15 bins and Sturges gives 9; either is defensible, and comparing the two side by side takes one minute and often reveals which structure is real.
Set Bin width instead when you need bins aligned to meaningful units: test score bands of 10 points, order values of $50, or age groups of 5 years. Tick Overflow bin and Underflow bin in the same pane if your data has outliers you want captured in a single bar at each end rather than stretching the axis.
Make a Histogram in Excel 2016 and Earlier with the ToolPak
Older versions have no histogram chart, so you generate the counts with the Analysis ToolPak and chart the output yourself. First enable the add-in: File > Options > Add-ins, set the Manage dropdown to Excel Add-ins, click Go, tick Analysis ToolPak, and click OK. The Data Analysis button then appears at the right end of the Data tab.
Run the tool as follows:
1: Build a bin range in an empty column: type your upper bin edges in ascending order (for example 10, 20, 30, 40) and leave the cell above the first edge blank if you want a labels row. 2: Click Data > Data Analysis > Histogram and click OK. 3: Set Input Range to your data column, including the header if you ticked Labels. 4: Set Bin Range to the cells holding your edges. 5: Tick Chart Output and click OK.
The tool writes a Frequency table plus a bar chart on a new sheet. The chart is a plain column chart, so it has no gap-width preset for histograms; right-click a series, choose Format Data Series, and set Gap Width to 0% to make the bars touch.
Two failure modes are common. If the tool reports that the input range contains non-numeric data, a text value slipped into your column and must be removed before rerunning. If the chart shows an extra bar, the tool is counting values above your highest bin edge in a final bucket, which is normal behavior and worth labeling.
Count Frequencies with FREQUENCY for Full Control
The FREQUENCY function gives you bin counts as live formulas, which matters when the underlying data changes weekly. In Microsoft 365, select the cells beside your bin edges, type =FREQUENCY(data_range, bins_range), and press Enter; the result spills down automatically. In Excel 2019 and earlier, enter it as an array formula with Ctrl+Shift+Enter and preselect the output cells first.
The function returns one more value than you have bin edges. That last number counts everything greater than the final edge, so label it "Above [last edge]" rather than ignoring it; dropping it silently loses your outliers. Counts are always of values falling in each interval, and the top edge of each bin is inclusive in Excel's implementation.
Build the chart on the output range with Insert > Column Chart, then set Gap Width to 0%. Because the counts are formulas, editing the source data updates the table and chart together, which is the main reason to prefer this method for dashboards or recurring reports.
The array-entry requirement trips people on older versions: if you select only the cells beside your edges and add one more for the overflow, you'll avoid the error that appears when the output range doesn't match. Text in the source range is ignored by FREQUENCY, so a stray label inflates nothing but also produces no warning.
What a Skewed Histogram Looks Like and What to Do Next
A histogram earns its keep by showing shape: where values cluster, how far they spread, and whether the distribution has one peak or two. A right-skewed histogram (a tall left cluster with a tail stretching right) points to a few very large observations; income, order values, and wait times commonly look this way. A left-skewed one has the tail on the left.
Bimodal shapes are the ones worth acting on. If two distinct peaks appear with a dip between them, your data probably mixes two groups: two regions, two shifts, two customer types. The right move is to split the column by category and chart each group separately rather than interpreting the combined shape.
Excel has no built-in skewness display on the chart, but the =SKEW(range) function returns a numeric skewness you can put in a cell beside the chart. A value near zero indicates symmetry, and anything beyond roughly ±1 signals a shape where mean and median diverge and the axis scale may need attention.
Once you've seen the shape, decide whether the histogram answered your question or raised a new one. If it raised one, the next step is usually a split by category or a finer bin range around the part of the distribution that matters.
Histogram Versus Bar Chart: The Mix-Up That Wrecks Reports
The most common histogram mistake is calling a bar chart a histogram, and the distinction is structural rather than stylistic. A histogram bins a continuous numeric variable, so its bars touch to signal that the axis is a continuum. A bar chart compares categories, so its bars are separated and can be reordered freely.
If your horizontal axis labels are names, months, or product codes, you want a bar chart, and Excel's Insert > Column Chart is the correct tool. If the labels are numeric ranges like 0–10, 10–20, 20–30, you want a histogram, and the touching bars are the visual cue that an 11 falls in the second bin.
One practical consequence: reordering the bars of a histogram destroys its meaning, because the x-axis is a number line. If you find yourself wanting to sort the bars by height, you've drawn the wrong chart. That symptom shows up most often when people histogram a categorical column by mistake.
The numeric axis also drives the bin-edge question. Excel's category axis treats "0–10" as text, which is why the chart-type route labels bins automatically but the ToolPak route needs edges you supply. Choose the edge values yourself when the report's audience will read the ranges literally.
Five Histogram Mistakes That Produce Quietly Wrong Charts
These errors don't throw messages, which is what makes them expensive. The first is a dirty data range: blanks and text values are dropped without notice, so the total bar height is lower than the row count. Compare the sum of bin counts to the status-bar count before publishing any histogram.
The second is unlabeled axes. A histogram with no axis title and no unit ("days", "dollars", "millimeters") is unreadable to anyone but its author, and Excel adds neither by default. Click the chart, use the + button at its corner, and tick Axis Titles.
The third is the wrong bin count, covered above, and the fourth is its twin: leaving Automatic on after seeing that the shape changed when you moved the setting. If you set bins manually, note the reason in the sheet so the next person doesn't "fix" it.
The fifth is charting cumulative percentages as if they were frequencies. Excel's histogram chart has a Cumulative Percentage option on the axis formatting pane, and switching it on adds a line to the chart; that line answers a different question ("what share of values falls below X") and shouldn't replace the bars.
| Mistake | How it shows up | Fix |
|---|---|---|
| Dirty data range | Bars total less than row count | Remove text/blanks, recheck count |
| No axis titles | Chart unreadable without context | + button > Axis Titles |
| Automatic bins on skewed data | One spike or merged peaks | Set Number of bins manually |
| Cumulative % left on | Line overshadows the bars | Untick or keep both, labeled |
| Text-number column | Empty or flat chart | Text to Columns > Finish |
Work through the table before your histogram goes into a report; each row takes under a minute and each one has produced a wrong chart in circulation somewhere.
Formatting a Histogram so Someone Else Can Read It
The chart's default look is functional but sparse, and a few formatting moves carry most of the value. Close the gaps (Gap Width 0%), add axis titles with units, and replace the default "Frequency" vertical title with what's actually being counted, such as "Number of orders."
If a legend appears even though you have one series, delete it: a legend on a single-series histogram is pure clutter. Click the legend and press Delete. The same goes for gridlines if they compete with the bars; light grey gridlines are usually fine, heavy ones are not.
For presentations, set a fixed vertical axis maximum so two histograms placed side by side stay comparable. Right-click the vertical axis, open Format Axis, and type the maximum under Bounds. Charts left on Auto rescale independently and make a small group look as tall as a large one.
Label the bin edges, not just the tick marks. Excel's chart-type route shows edges on the axis automatically; in a ToolPak chart, the category labels are the bin values, which readers interpret correctly only if the table's header row says "Upper edge."
FAQ
Does Microsoft 365 Personal include the histogram chart type?
Yes, if your build is current; the histogram chart ships with Microsoft 365 Apps for enterprise, Personal, and Family editions. The check is File > Account: the product name must read Microsoft 365, not Excel 2016 or 2019 purchased as a one-time license. If the Insert tab has no statistical chart icons, you're likely on an Excel 2016 build that predates the chart type, which Microsoft's support documentation dates to the 2016 release but some builds shipped without.
Why does my histogram show a bar I didn't create?
That extra bar is the overflow bucket. All three methods count values above your highest bin edge into a final category, which Excel labels with the word "More" in the chart-type route and places as the last row in the ToolPak and FREQUENCY outputs. It's correct behavior, and you should keep it visible with a clear label like "> 40" rather than deleting it, because deleting hides your outliers.
How many bins should a histogram have for 100 rows?
Ten bins is the right starting point for 100 rows, because the square root rule gives exactly 10 and Sturges' rule gives 7, so anything in the 7–10 range is defensible. Try 10 first, then try 7, and keep whichever shows the structure without fragmenting it. The rule matters less than checking both; a shape that only appears at one bin count should make you suspicious of it.
Can I make a histogram from pivot table data?
Not directly; a PivotChart has no histogram type, so you need to summarize first. Use a helper column with =FLOOR.MATH(value, bin_width) to assign each row to a bin, then pivot on that column and count the rows. The result is a pivot-driven column chart you can group or filter by category, which is the practical route when the data refreshes regularly and a static histogram would go stale.
What's the difference between Excel's Histogram tool and the chart type?
The ToolPak tool's output is static: it writes numbers to cells once and doesn't update when the source data changes, while the chart type redraws from the live range. Use the ToolPak when you need the bin-count table for further calculations, and the chart type when you need a picture that stays current. Excel 2016 and earlier only have the ToolPak, which is the historical reason the tool remains in every later version.
Do I need the Analysis ToolPak installed for the histogram chart?
No; the chart type lives on the Insert tab and works without any add-in. The ToolPak is only required for the Data Analysis Histogram tool, which you enable once through File > Options > Add-ins > Excel Add-ins > Go. If you've enabled it and the Data tab still lacks the Data Analysis button, restart Excel; the ribbon register sometimes needs a relaunch to show the new group.