• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microsoft Excel Tips and Tricks - Computergaga

  • Home
  • Excel Online Courses
  • Excel Functions List
  • Free Downloads
  • Blog
  • Tutorials
  • About
Home / Charts / Create a Histogram in Excel

Create a Histogram in Excel

Create a Histogram in Excel to graphically represent the distribution of data. It looks like a column chart with each column representing an interval (bin), and the column height representing the frequency that it appears.

Essentially the graph groups numbers into intervals (bins) and displays how often they appear. The graph then beautifully illustrates how the sets of numbers are distributed.

For example, the histogram below displays the distribution of school grades from 20 pupils among different intervals.

Histogram in Excel

Create a Histogram in Excel

  1. To create a histogram in Excel, you first need to enter the bin values (interval ranges) that you want to use. This will be the upper value of the interval e.g. for 60-70, enter 70.

Bin values have been entered in the range D4:D8 in the example below.

Sample data and bin values to create a Histogram in Excel
  1. Click the Data tab, and then the Data Analysis button

If you cannot see the Data Analysis button, then the Analysis Toolpak has not been installed.

Click the Add-Ins button on the Developer tab, check the Analysis Toolpak button and click OK to install it (Having trouble? Watch this video on how to install the Analysis Toolpak add-in).

Data Analysis on Ribbon after installation of the Analysis Toolpak
  1. Select the Histogram tool and click OK.
Create a Histogram in Excel with the Analysis toolpak
  1. For the Input Range, select the range of cells containing the data that you want to chart. In this example that is the school grades in B4:B23.
  2. For the Bin Range, select the interval values entered in step 1. In this example that is D4:D8.
  3. In the Output Range box, enter the cell that you want to display the frequency distribution table that will be created by the histogram tool.
  4. Select the Chart Output option.
Analysis toolpak Histogram settings in Excel
  1. Click OK. The result will be something like the image below.
Outputted Histogram chart in Excel
  1. When you create a histogram in Excel, the initial output might not be exactly what you want. For the last steps I will make a few minor changes to improve the look of the histogram.

Click on the Legend and press Delete. As there is only one data series the Legend does not have a purpose.

  1. Edit the bin labels in the outputted frequency distribution table to something more meaningful.
Chart with improved bin labels
  1. The last steps will be to resize the chart, edit the chart title and maybe apply some finishing touches such as changing the column colours and applying data labels.
Final Histogram including formatting and data labels

Watch the Video

Other tutorials you might be interested in

The STDEV Function in Excel – The STDEV function or standard deviation function is used to show how widely spread your data is from a central point, the mean or average. It is one of the Excel statistical functions.

About Histograms – An explanation of histograms including exercises from the team at Maths Is Fun.

The COUNTIFS Function – This function is used in Excel to count all the cells within a given range that meet multiple conditions.

Related Posts:

  • Moving average in Excel thumbnail
    Moving Average in Excel
  • Compare dates in Excel feature
    How to Compare Dates in Excel
  • Live currency exchange rate in Excel thumbnail
    LIVE Currency Exchange Rate in Excel
  • Custom sort in Excel
    Custom Sort in Excel

Reader Interactions

Comments

  1. Paul danville says

    8 September 2017 at 4:50 am

    Very good will try and use it for my church project

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Excel SWITCH Function – Nested IF Function Alternative
  • Sum Formulas Only in Excel
  • How to Calculate Age in Excel
  • Custom Sort in Excel
  • Case Sensitive Lookup with XLOOKUP in Excel
Advanced Excel Success book

Footer

Contact

[email protected]

LinkedIn Twitter YouTube

Useful Links

  • Home
  • Excel Online Courses
  • Tutorials
  • Sitemap
  • Privacy Policy
  • Jobs by Jooble

Course Topics

  • Blog
  • Charts
  • Courses
  • Dashboards
  • Downloads
  • Excel Tips
  • Formulas
  • Mail Merge
  • Office
  • PivotTables
  • Power BI
  • Power Pivot
  • Power Query
  • VBA

Join Our Mailing List

© Copyright 2009 Computergaga · All Rights Reserved ·