Construct a Histogram in Microsoft Excel 2007

Written by:  • Edited by: Rebecca Scudder
Updated Mar 28, 2011
• Related Guides: Microsoft | Excel

Now that all your data is organized in Excel, it’s time to create the actual histogram. We’ll walk through those steps in this guide.

Column Charts and Histograms

Histograms can be constructed in Microsoft Excel with the Column Chart tool. You do have to make some modifications to the column chart to make it look like a histogram, and we’ll cover the steps needed to do that in this guide.

For this tutorial, we’ll be working with the example discussed in earlier parts of this series. Also, if you would like to download the Excel file that contains all of the data, tables, and charts used in this series, you can find it in the Windows Platform Media Gallery.

Creating the Histogram

In the steps that follow, we'll construct a histogram from the table of data created in part two of this series.

Select Columns
click to enlarge
Step 1: Select the columns with information pertaining to the Interval and Frequency, as shown in the image to the right.

Click any image for a larger view.

Note: If your columns are not adjacent (like the ones in this example), select the first column and then hold down the Ctrl key while selecting the second column so that both are included in the selection. In the image to the right, the selected area is highlighted in blue.

(Editing Notes: In the original publication of this article, we used the Upper Limit of Interval instead of the Interval column so that the x-axis labels on the final graph would be shorter and fit better in the small space provided. Some found this a little confusing and thought the resulting graph was not a histogram due to those labels. To make things clearer, we're reverting to using the full interval class names. Note that this doesn't change anything except the data labels – both versions are the same chart and both are, indeed, frequency histograms.)

Select 2-D Clustered Column
click to enlarge
Table With Histogram
click to enlarge
Step 2: Go to the Insert tab in Microsoft Excel, and click on Column in the Charts section. Choose the 2-D Clustered Column option – the first choice under the 2-D Column grouping, as seen in the screenshot to the left.

Step 3: By default, the histogram will be created on the same spreadsheet. You can click and drag it to any new location on the sheet (see image to the right) or even move it to a new worksheet.

Improving the Appearance

While our finished result is a basic histogram, there's a lot that can be done to improve its appearance – including changing the distance between the gaps so that all of the bars appear to "touch" one another. We'll cover those steps in the next article of this series, Formatting a Histogram in Microsoft Excel.

Don't forget to check out the other Microsoft Excel chart tips found here at Bright Hub.

Additional Resources and Materials

Explaining Bimodal Histograms – This guide explains what a bimodal histogram is and gives examples, including an example that looks bimodal at first, but really isn't.

Box Plots vs. Histograms – Is it better to use a box plot or a histogram to represent your data? This guide compares the two chart types and looks at cases in which it may be more advantageous to use one over the other.

Combining Chart Types in Microsoft Excel – This tutorial describes how you can represent two different chart types, such as a column chart and a line chart, in one graph in Microsoft Excel 2007.

References

Microsoft Excel Official Site, http://office.microsoft.com/en-us/excel/

All screenshots taken by author.


Comments

Showing all 8 comments
 
MITO May 31, 2011 7:05 PM
About the comment titled "Not a histogram, fool"
The definition of histograms is the visualized frequency distribution of data allowing detection of variances. Rather than criticizing others' contributions, you may want to find yourself some humility and revisit your premature or inaccurate understanding.
Michele McDonough Mar 28, 2011 7:33 AM
Frequency and Histograms
I do admit that the choice of labels for the x-axis on the graph pictured here is not the best -- in the interest of space, only the upper limit was used to denote each class interval. It would be much better to show the entire class interval (as shown in the table for this example) to avoid confusion.

However, the frequency of each class interval is an integral part of a histogram.
I have no name, I am just the voice of the well informed Mar 28, 2011 7:09 AM
Not a histogram, fool
As others point out, this is not a histogram. A histogram represents the distributional of data, not the frequency.
Since the author does not understand this, there is no advice in this article for when the intervals are of inconsistent sizes. When this happens, the bar width should changes to reflect the size of the interval, thus preserving the representation of the data.

There should be an international campaign to get people to understand this! I'll stop writing now before I get myself into a rage
Amila Chanaka Dec 12, 2010 11:55 PM
Economics & Statistics
woh! thnx a lot. I was struggling that how to do construct this histograme. This is my last assignment. Thax a lot again,
Christine Elslinksy Oct 7, 2010 7:29 AM
Marvolous
Thanks for giving such step by step and useful information about Histogram. now i would be able to do my assignments well!!
Thanks once again!! :-)
Dinesh Vohra Jul 2, 2010 1:51 AM
How to find the class interval nd frequency
is there any option in excel from which we can directly find class interval and frequency if no. of data points are given??
MOREIRA Apr 14, 2010 11:18 AM
HI!
THIS IS VERY HELPFUL. THANKS! I WAS ABLE TO DO MY ASSIGNMENT IN STATISTICS.
chris Apr 1, 2010 11:53 AM
histograms in ms ex07
This looks helpful and hopefully it works. Thanks
 
blog comments powered by Disqus
Email to a friend