Select your values and go to Insert → Insert Statistic Chart → Histogram. Excel sorts the values into bins and plots the count in each, with no helper column. This chart type needs Excel 2016 or later; in older versions use the FREQUENCY method below, or Data → Data Analysis → Histogram after turning on the Analysis ToolPak in File → Options → Add-ins.
To change the bins, right-click the horizontal axis and choose Format Axis. Set Bin width for a fixed size per bar or Number of bins for a fixed count of bars, and use Overflow bin and Underflow bin to group everything above or below a cut-off into one bar.
For a histogram driven by formulas, type the upper limit of each bin in a column, say D2:D6, and enter =FREQUENCY(A2:A100,D2:D6) in E2. In Microsoft 365 and Excel 2021 it spills on its own; in older versions select E2:E7 first and press Ctrl + Shift + Enter. Chart the counts as a clustered column and set Gap Width to 0%.
FREQUENCY returns one more value than you have bins: the last one counts everything above the top limit. If you select only as many cells as bins in an older version, those values drop out without warning.
Each bin includes its upper limit, so a value of exactly 20 counts in the 10–20 bin, not 20–30. If the bars look one off, check values that sit on a boundary, and check for numbers stored as text, which FREQUENCY ignores.
It’s a step-by-step tutorial to create a HISTOGRAM in Excel in different ways in different versions of Excel.
Excel Histogram Chart
A histogram is a column or a bar chart that represents values using a range. Think of a class teacher who wants to present marks of students using a category range (Bins). In the class, she has 50 students, and to present the performance of the class, she can use the distribution of students according to their marks using a histogram.

In this guide, I’ll be sharing with you everything you need to master this chart. So stay with me for the next few minutes…
- 2016
- 2013
- Mac
- Pivot
- Other
Steps to Make a Histogram in Excel 2016
If you are like me and use Excel 2016 or a later version (2019, 2021, 2024 or Microsoft 365), I’ve got good news for you: there is an inbuilt option to create a histogram in these versions of Excel.
Let’s suppose you have a list of employees (here is the list) and their period of employment with the company.

And now you need to create a histogram that should show the number of employees in a particular period range (Bin).
Follow these simple steps:
- First of all, select the data and go to the Insert Tab ➜ Charts ➜ Insert Statistic Chart ➜ Histogram ➜ Histogram, to insert the chart.

In reality, this is the only step you need to follow; your chart is there in your spreadsheet.

You can delete the chart title and gridlines if you want.

Pro Tip When you’re using Excel 2016 make sure to convert your data into an Excel table to make it dynamic. So whenever you add new data to it, your chart gets updated automatically.
…download this sample file from here to learn more.
But now you need to have a look at how you can customize it and all the options you have with it.
Let’s explore some of the main options related to bins one by one:
- Now, select your chart’s axis and right-click on it, and open “Format Axis”.

1. By Categories
If you think about the data we are using here, every entry is unique as each employee’s name is different.

But if you have data where you have repetitive entries, then you can use this option to create a chart based on the SUM or COUNT of those categories instead of numeric bins.
In this case, the bins would be the categories, not the distribution of numerical data.
2. Automatic
When you create a histogram, Excel creates bins automatically using the range of the values you have. In simple words, this option is the default way to make a histogram.
3. Bin Width
By using this option, you can specify the width of the Bins. Let’s say you want each bin to have a width of 10; then this will create bins of 0-10, 10-20, and so on (each bin includes its upper value).
With this option, you have control over the width of the bin, and Excel will create the number of bins using the width you specified. Let’s say you have values from 1 to 20 and you want bin width 4, then Excel will create 5 bins like this:

4. Number of Bins
And if you want to specify the number of bins instead of the range, you can click on this option and enter the number. Let’s say you want to have 3 bins and the range of values is 0-15; then Excel will create bins like:

5. Overflow Bin and Underflow Bin
These two options help you to create “more than” and “less than or equal to” bins in the chart. Let’s say you want to have a bin for the employees with a working period of 10 years or less.
You can simply enter 10 in the underflow. Or, if you want to have a Bin for the employees having a working period of more than 20 years, enter 20 in the overflow.

Steps to Create a Histogram Chart in Excel 2013 (Data Analysis Tool Pack)
If you are using Excel 2013 or a lower version, then you need to follow different steps to create this chart.
There is an ADD-IN which you need to install (Microsoft calls it “Analysis ToolPak”), “Analysis Tool Pack”. It comes with your Excel but you need to install it.
So let’s learn to install it (I’m using screenshots for Excel 2016 but the steps are the same in all the Excel versions) and then we’ll get into making a histogram.
Steps to Install Data Analysis Tool Pack
- First of all, click on the File tab and open “Options”.

- Now from here, go to Add-ins, select “Excel Add-ins” in the Manage box and click Go.

- And, tick-mark the “Analysis ToolPak” and click OK.

Once you click OK, it will process for a few seconds and you’re ready to go. You’ll have a “Data Analysis” button in the Data tab.

…make sure to download this sample data file from here to follow along.
Before you create a histogram using “Analysis Tool Pack”, you need to create Bins. Yes, manually. But it’s a simple thing, you know. Here we need bins like below or whatever you want to make.

Now let’s follow these simple steps to insert the histogram and make sure you have this data file with you to follow along.
- First of all, go to the data tab and click on “Data Analysis”.

- Now, from the data analysis menu, select “Histogram” and click OK.

- At this point, you have a histogram window just like below and from this window, you need to specify the following details:

- Input Range: The range where you have employee years with the company (Make sure to only select the values without heading).
- Bin Range: The range where you have bins, yes the one we have just created (Make sure to only select the values without heading).
- Output Option: Select the “New Worksheet” for the output and tick mark the “Chart Output” for the chart.
- In the end, click OK.
Once you click OK you’ll have a new worksheet with a chart and a frequency.

…here’s the sample file with a histogram created using “Analysis Tool Pack”.
Important Points You Need to Understand when you are using “Analysis Tool Pack” to Create a Histogram in Excel
- The first bin counts the values that are less than or equal to it, and each of the rest of the bins counts the values that are greater than the previous bin and less than or equal to itself.

- Apart from the bins you create, it adds an extra bin with the name of “More” to show values more than the last bin. Even if you don’t have a value greater than the last bin it adds “More” as a bin.

- “Analysis Tool Pack” creates a chart that is not dynamic. When you add a new value in the main data it will not update it, so you need to create a new chart.
- If you skip specifying the bins, it will automatically choose bins and creates the chart.

- When you create a histogram using “Analysis Tool Pack”, you can’t undo it; you need to delete it and create a new one if you want to make changes.
Creating a Histogram in the Excel for Mac [2011]
To create a histogram in the Mac version of Excel [2011], we need to install the “Analysis Tool Pack” as well. In Excel 2016 for Mac and later, you can also use the built-in Histogram chart from Insert ➜ Charts ➜ Statistical, just like on Windows.
…make sure to download this sample file to follow along.
Activating “Analysis Tool Pack” in Excel Mac
Follow these simple steps to activate “Analysis Tool Pack” in Excel Mac:
- First of all, go to the Tools menu and click on “Excel Add-ins”.

- Now from the add-in window, tick mark “Analysis Tool Pack” and click OK.

- This will instantly add the “Data Analysis” button into the Data Tab.

Now the next step.
Step to Create a Histogram [Mac Excel]
Before you create your chart, make sure to create the bins as we have made in the above method. And, if you don’t know about the Bins, make sure to read about them in the above section of this post.
- First of all, go to the Data tab and click on the “Data Analysis” button.
- From the data analysis window, select “Histogram” and click OK.

- Once you click OK, you’ll have the histogram dialog box where you need to enter the following:

- Input Range: The range where you have employee years with the company (Make sure to only select the values without heading).
- Bin Range: The range where you have bins, yes the one we have just created (Make sure to only select the values without heading).
- Output Option: Select the “New Worksheet” for the output and tick mark the “Chart Output” for the chart.
- After that, click OK.
Once you click OK, it’ll insert a new worksheet with the frequency table and a histogram.

Create a Histogram using the Pivot table and Pivot Chart
When it comes to control and flexibility, there is nothing like a pivot table and pivot chart. I have found a simple way to create a histogram by combining a pivot table and a pivot chart. The below chart is a pivot chart, can you believe it?

Let me tell you how it works (with the same employee data here).
- First of all, you need to create a pivot table (or you can also create a pivot table and a pivot chart in one go).
- For this, go to Insert Tab ➜ Charts ➜ PivotChart ➜ PivotChart & PivotTable.
- In the “Create PivotTable” dialog box, click on the “New Worksheet” and click OK.

- At this point, you have a blank pivot table and pivot chart in your worksheet.

- Next, we need to add values, so now, add the column “Employment with Company (in years)” to rows area and into values as well.

- Now, for the values area, open “Value Field Settings” and select “Count” instead of “Sum”.

- After that, go to the pivot table, right-click on any of the row labels and click on “Group”.
- In the “Grouping” window, enter 5 in the “By” box and click OK.

Now you need to do a bit of customization in the chart to make it a perfect one.
- Select the data series and open data series options. From here, make the “Gap Width” 0.

- After that, remove the gridlines and chart title (if you want).
- Click on the filter button and “Hide All”.

- In the end, right-click on the vertical axis and open “Format Axis”.
- In the format axis options, go to Axis Options ➜ Axis Options ➜ Units and enter 1 in Major, so the axis shows whole numbers only.

Boom! Your histogram is ready.

Dynamic Histogram using FREQUENCY Function
If you create a histogram using “Analysis Tool Pack” it won’t be a dynamic one.
But…
You can create a dynamic histogram by using the FREQUENCY function. To use this function all you need is to create bins in the data (I’m using the same employee data here) and then enter the below formula in the formula bar:
=FREQUENCY(InputDataRange,BinRange)
For example, with the values in B2:B11 and the bins in D2:D5, select E2:E6 (one cell more than the bins) and enter:
=FREQUENCY(B2:B11,D2:D5)
FREQUENCY returns one more value than the number of bins: the last value is the count of the values above the last bin, just like the “More” bin of the Analysis Tool Pack.

Make sure to enter this formula as an array formula by using Ctrl + Shift + Enter. In Microsoft 365 and Excel 2021 or later, just press Enter in the first cell, and the results spill into the cells below.
After that, you just need to insert a normal column chart using the table we have just created.
If you don’t want to use an array formula, COUNTIFS gives the same counts for each bin. Enter the following formula in the cell next to the second bin (D3) and drag it down; for the first bin (D2), use the second formula:
=COUNTIFS($B$2:$B$11,">"&D2,$B$2:$B$11,"<="&D3)
=COUNTIF($B$2:$B$11,"<="&D2)

And don’t forget to change the gap width to 0% from “Format Data Series” options.

When You Need to Create a Histogram
Creating a histogram in Excel is not rocket science, but you need to be aware of the situations where it can be helpful and useful.
1. To Present Large Data
Remember the example of the students? Sometimes it’s hard to present data in a normal chart (Line, Column, or Bar). But with a histogram, you can make bins and present large data in a simple chart.
2. To Understand the Distribution
A histogram not only distributes data into bins but also helps you to understand the distribution. Looking at a histogram of the students’ marks, you can see at a glance, for example, how many students scored between 40 and 80, and how many scored above 60.
3. To Help in Decision Making
By using a histogram, you can easily find the students who need to work on their performance. Once you know the numbers in the distribution you can separately focus on each distribution.
What are Bins?
Bin (Bucket) is a range of values in which you distribute the frequency of occurrence. Normally, when someone makes a histogram, they need to create the bins first, but with the built-in histogram chart in Excel 2016 and later, you don’t need to create bins (you still need them for the Analysis Tool Pack and the FREQUENCY function).
In the end
If you are using Excel 2016 or later, then there is a simple one-click way to create a histogram, as it’s there already. Otherwise, you can use the “Analysis Tool Pack”, but you need to install it first to use it.
Well, if you ask me, my favorite method to make a histogram is by using a pivot chart as it’s way more dynamic and gives you more options to control the chart.
But now you have to tell me one thing. Which method is your favorite?
Make sure to share your views with me in the comment section; I’d love to hear from you. And please, don’t forget to share this post with your friends, I am sure they will appreciate it.
Frequently Asked Questions
What is the difference between a histogram and a column chart?
A column chart shows one bar for each item. A histogram groups numbers into ranges (bins) and shows how many values fall in each range, with no gaps between the bars.
Why is the Histogram chart missing in my Excel?
The built-in Histogram chart is only in Excel 2016 and later (Windows and Mac). In older versions, use the Analysis Tool Pack, the FREQUENCY function or a pivot chart, as shown above.
Can I show the bins sorted by the highest count?
Yes. Use the Pareto chart (Insert ➜ Insert Statistic Chart ➜ Pareto), which sorts the bars from the highest to the lowest and adds a cumulative percentage line.
More Charting Tips and Tutorials
- Add a Horizontal Line in a Chart in Excel
- How to Add a Vertical Line in a Chart in Excel
- How to Create a Bullet Chart in Excel
- How to Create a Dynamic Chart Range in Excel
- How to Create a Dynamic Chart Title in Excel
- How to Create Interactive Charts In Excel
- How to Create a Sales Funnel Chart in Excel
- How to Create a HEAT MAP in Excel
- How to Create a Pictograph in Excel
- How to Create a Milestone Chart in Excel
- How to Insert a People Graph in Excel
- How to Create PIVOT CHART in Excel
- How to Create a Population Pyramid Chart in Excel
- How to Create a SPEEDOMETER Chart [Gauge] in Excel
- How to Create a Step Chart in Excel
- How to Create a Thermometer Chart in Excel
- How to Create a Tornado Chart in Excel
- How to Create Waffle Chart in Excel