What is a histogram? It looks a lot like other bar charts, but it group numbers into ranges based on your determinations. Compared to other types of graphs, histograms make it easier to identify different data as well as categories and frequencies of occurrence.
You can create a histogram in Excel using its histogram tool. Just enter the data you want to analyze and the “bin numbers” you wish to use, which represent the frequency intervals you wish to use.
Histograms are supported by Excel 2016, 2013, 2010, 2007 and Excel for Mac, but the steps you take depend on which version of Excel you're using.
May 11, 2016 - Specify the Excel histogram bin range. Before creating a histogram chart, there is one more preparation to make - add the bins in a separate column. Bins are numbers that represent the intervals into which you want to group the source data (input data). This example teaches you how to create a histogram in Excel. First, enter the bin. First, enter the bin numbers (upper levels) in the range C4:C8.
The Analysis ToolPak add-in is required to use the histogram tool. This add-in is not supported in Excel Online (Office 365). However, you can view a histogram created in a desktop version of Excel using Excel Online.
How to Make a Histogram in Excel 2016
Excel 2016 has a histogram maker that's especially easy to use, as it’s one of the built-in charts available.
- To begin, enter the data you want to use in your histogram into a worksheet. For example, enter the names of the students in a class in one column and their test scores in another.
- Select the entire dataset.
- Go to the Insert tab and select Recommended Charts in the Charts group.
- Go to the All Charts tab and select Histogram.
- Right-click the vertical axis (the numbers beneath the chart) and select Format Axis to open the Format Axis pane and customize the histogram.
- Select Categories if you want to display text categories.
- Select Bin Width to customize the size of each bin. For instance, if the lowest grade in your dataset is 50 and you enter 10 in the Bin Width box, the bins will display as 50-60, 60-70, 70-80, and so on.
- Select Number of Bins to establish a specific number of bins displayed.
- Choose Overflow Bin or Underflow Bin to group above or below a specific number.
- Close the Format Axis pane when you have finished customizing the histogram.
How to Create a Histogram in Excel 2013, 2010, or 2007
Excel 2013 or earlier requires the Analysis ToolPak add-in to use the histogram tool. Make sure it's installed before you create a histogram in Excel.
- Go to the File tab, then select Options.
- Select Add-ins in the navigation pane.
- Choose Excel Add-ins in the Manage drop-down, then select Go.
- Select Analysis ToolPak, then select OK.
Once you've added the Analysis ToolPak, you can access it in the Analysis group under the Data tab.
- Enter the data you want to use in your histogram into a worksheet. For example, enter the names of the students in a class in one column and their test scores in another.
- Enter the bin numbers you want to use into a third column. For instance, if you want to display test scores by letter grade, you might enter 40, 50, 60, 70, 80, 90, and 100 into the cells of the third column.
- Go to the Data tab. In the Analysis group, select Data Analysis.
- Select Histogram in the Data Analysis dialog box, then select OK. The Histogram dialog box will open.
- Select the Input Range (which would be the test scores in this example) and the Bin Range (which are the cells containing the bin numbers).
- Choose the Output Range if you want the histogram to appear on the same worksheet. Otherwise, choose New Worksheet or New Workbook.
- Select the Chart Output checkbox, then select OK. Excel will insert a static histogram on the sheet you selected.
Create a Histogram in Excel 2016 for Mac
You can easily create a histogram in Excel 2016 for Mac after installing the Analysis ToolPak.
The add-in is not available in Excel 2011 for Mac.
- Choose Analysis ToolPak in the Add-ins Available box and click OK.
- Click Yes to install the add-in if prompted.
- Exit Excel and restart the program. The Data Analysis option will appear on the Data tab.
Once you've installed the add-in, you can create a histogram:
- Enter the data you want to use in your histogram into a worksheet. For example: enter the names of the students in a class in one column and their test scores in another.
- Enter the bin numbers you want to use into a third column. For instance, if you want to display test scores by letter grade, you might enter 40, 50, 60, 70, 80, 90, and 100 into the cells of the third column.
- Go to the Data tab and click Data Analysis.
- Select Histogram and click OK.
- Select the Input Range (which would be the test scores in this example) and the Bin Range (which are the cells containing the bin numbers).
- Choose the Output Range if you want the histogram to appear on the same worksheet. Otherwise, choose New Worksheet or New Workbook.
- Click the Chart Output checkbox, then click OK. Excel will insert a static histogram on the sheet you selected.