Create a histogram

A histogram or Pareto (sorted histogram) is a column chart that shows frequency data. Here’s a typical example:

Histogram table data and chart

To create a histogram in Excel, you use the Histogram tool of the Analysis ToolPak. It uses two columns of data to create a histogram -- one for data you want to analyze and one for bin numbers that represent the intervals by which you want to measure the frequency.

Make sure you load the Analysis ToolPak to add the Data Analysis command to the Data tab. Then you’ll be ready to create a histogram. Here’s how:

  1. On a worksheet, type the input data in one column, adding a label in the first cell if you want.

    Be sure to use quantitative numeric data, like item amounts or test scores. The Histogram tool won’t work with qualitative numeric data, like identification numbers entered as text.

  2. In the next column, type the bin numbers in ascending order, adding a label in the first cell if you want.

    It’s a good idea to use your own bin numbers because they may be more useful for your analysis. If you don't enter any bin numbers, the Histogram tool will create evenly distributed bin intervals by using the minimum and maximum values in the input range as start and end points.

  3. Click Data > Data Analysis.

    Data Analysis and Solver

  4. Click Histogram > OK.

    Data Analysis dialog box

  5. Under Input, do the following:

    1. In the Input Range box, enter the cell reference for the data range that has the input numbers.

    2. In the Bin Range box, enter the cell reference for the range that has the bin numbers.

      If you used column labels on the worksheet, you can include them in the cell references.

      Tip:  Instead of entering references manually, you can click Collapse button to temporarily collapse the dialog box to select the ranges on the worksheet. Clicking the button again expands the dialog box.

  6. If you included column labels in the cell references, check the Labels box.

  7. Under Output options, choose an output location.

    You can put the histogram on the same worksheet, a new worksheet in the current workbook, or in a new workbook.

  8. Check one or more of the following boxes:

  9. Pareto (sorted histogram) This shows the data in descending order of frequency.

  10. Cumulative Percentage     This shows cumulative percentages and adds a cumulative percentage line to the histogram chart.

  11. Chart Output     This shows an embedded histogram chart.

  12. Click OK.

    If you want customize your histogram, you can change text labels, and click anywhere in the histogram chart to use the Chart Elements, Chart Styles, and Chart Filter buttons on the right of the chart.

Top of Page

Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.