1. Home
Excel

Excel Tutorial: Master Spreadsheets Quickly and Easily

Explore our detailed Excel tutorial page for comprehensive guidance on mastering spreadsheet tasks. From basic functions to advanced formulas, enhance your skills and efficiency with step-by-step instructions and practical examples.

  • 68
  • 16
right-top-arrow

Tutorial Playlist

68 Lessons
58

How To Make Histogram In Excel

Updated on 19/07/2024578 Views

Have you ever made a bar or column chart representing any numerical data? I bet everyone has at some point. 

These charts are common tools in presentations, business reports, and school projects to visually summarize data. This brings us to the Histogram feature in Excel. You can easily employ frequency distribution in Excel using a Histogram.

In this tutorial, I will show you how to make histogram in Excel. You will learn to visualize data distributions and gain insights that are not immediately apparent from raw numbers alone. 

By the end of this guide, you’ll be equipped to apply histograms to various data sets, enhancing your data analysis skills in Excel

Let's get started!

What is a Histogram, and When Should It Be Used?

A histogram is a chart that shows the frequency of numerical data using rectangles. Each rectangle's height indicates the number of occurrences for particular data ranges, which helps you observe how often different values appear. The width of these rectangles corresponds to the intervals of the data, like periods in minutes or ages in years.

In practice, whether you're analyzing customer behaviors, sales patterns, or operational metrics in business or requiring precise measurement analysis in science or engineering, histograms can be immensely helpful. They transform complex numerical data into easily comprehensible visual formats.

How To Make Histogram in Excel, 2016

If you have Excel 2016 or a more updated version, you can use the Histogram chart option in the Charts section. But if you have any prior versions (like Excel 2013), you need not worry! Hover on to the next sections to learn how to create histograms in Excel using the Data Analysis Toolpack or Frequency Formula.

Below is an example of a dataset. This data represents the scores out of 100 on a recent test for 20 students.

Follow the given steps to create a Histogram of the previous dataset in Excel:

  1. Select the whole dataset
  2. Click on the Insert tab
  3. Head on to the Charts group and select the “Insert Static Chart” option.

  1. Under the ‘Histogram’ group, select the ‘Histogram Chart’ icon.

This is the Histogram that you will get after following the above steps. 

Now, you might want to format this Histogram. To format the Histogram, follow the given steps:

  1. Take your cursor on top of the ‘X-Axis’ and right-click. You will find an option called ‘Format Axis,’ which you need to click on. 
  1. Select the “Axis Options” category.
  1. Put the Bin width as “10” (or as per your desired width).
  1. The value you put in the Underflow bin is the value from which the bins will start. Here, I have selected “70” as the Underflow bin value.
  1. The value you put in the Overflow bin is equivalent to or above the values shown in the final bin. I have selected “90” as the Overflow bin value.

Create Histogram in Excel Using the Data Analysis ToolPak

You can use this method in any version of Excel. You can make a histogram with the Data Analysis ToolPak, by installing the Analysis ToolPak add-in first. 

How to Install the Data Analysis ToolPak?

Follow the given steps to install the Data Analysis ToolPak:

  1. Go to the ‘Files tab’ and click ‘Options.’
  2. Select the ‘Add-ins’ option.

  1. Click on the ‘Analysis ToolPak’ and then click on ‘OK.’

Now, you can access the ‘Analysis ToolPak’ from the ‘Data’ tab in the ‘Analysis’ group.

Using Data Analysis ToolPak to create a Histogram

Let us use the same dataset to create a histogram using ‘ToolPak’. 

First, you need to set the data intervals where you would find the data frequency. These intervals are called ‘Bins’. 

In the given dataset, the bins would make the marks’ intervals. 

In a new column, you need to type in the values of the bins, as shown below.

Now, once you have set all the data, you can start following the given steps to create histogram in Excel:

  1. Click on the ‘Data’ tab
  2. Go to the ‘Analysis’ group and select ‘Data Analysis.’

  1. As the ‘Data Analysis’ dialogue box opens, select the Histogram option.

  1. Click ‘OK.’

This will open up the Histogram dialogue box. Now that the dialogue box is open, you need to follow the given steps:

  1. Fill in the ‘Input Range’ (Marks in this case).
  1. Fill in the ‘Bin Range’ (Cells C2:C5).
  1. Let the checkbox named ‘Labels’ remain unchecked (It is only required to be checked when you add labels in your data section).
  1. Select the ‘Output Range’ for your Histogram.
  1. Click on the ‘Chart Output.’
  1. If you want your Histogram to be presented in descending order of frequency, you need to click on the ‘Pareto’ check box.
  1. If you want a cumulative frequency line to be added to your Histogram (which looks similar to a normal distribution curve in Excel), click on the ‘Cumulative Percentage’ box.
  1. Click ‘OK’.

This will add your frequency distribution table along with the chart for the location that you specified.

How To Create a Histogram Using Excel Histogram Formula?

Excel formulas come in handy when you want to make a dynamic histogram (that gets updated when you alter the data).

I am going to show you how to use the Excel Histogram formula and the FREQUENCY function to create a dynamic Excel Histogram chart. 

Here, you will also use the same student marks data to make the data intervals (bins) where you want to display the frequency. 

The Excel Histogram formula for calculating the frequency of each interval is as follows:

=FREQUENCY(B2:B21,C2:C5)

This is an example of an array formula, so you will have to use Control + Shift + Enter.

Follow the undermentioned steps to create Histogram in Excel using the FREQUENCY formula:

  1. First, you need to select the adjacent cells of the bins’ column (D2:D5).
  1. Now type in the FREQUENCY formula: =FREQUENCY(B2:B21,C2:C5).
  1. Press Control + Shift + Enter.

Now, with this result, you can create a simple histogram. 

Final Words

Learning how to make histograms in Excel is far more than simply organizing numbers and clicking through menus; it's about mastering data to tell its story compellingly and clearly. 

I sure hope this Histogram Excel tutorial has been insightful. In my experience, Excel has all the robust tools you need as a data analyst to uncover patterns, analyze trends, and make informed decisions. 

If you are looking to deepen your expertise in Excel, consider enrolling in the free certified course that upGrad offers. upGrad also offers other accredited programs that can significantly enrich your understanding and enhance your skill set, preparing you for advanced data handling in any professional setting.

Frequently Asked Questions

  1. How do I create a histogram in Excel?

To make a histogram in Excel, organize your data into a single column. Next, navigate to the "Insert" tab, choose "Insert Statistic Chart," and pick "Histogram.". Modify the bin range and more by selecting the histogram and accessing the settings in "Histogram Format." The process is explained in detail in the preceding sections of this tutorial.

  1. How do you construct a histogram?

To construct a histogram, first gather and sort your data into a single column. Then, select the range of data, navigate to the "Insert" tab, choose "Chart," and select "Histogram" from the available options. Excel will create the histogram automatically. You can format the bin sizes and appearance by adjusting the settings in the chart tools that appear.

  1. How do I make a histogram in Excel with two sets of data?

To make a histogram in Excel with two sets of data, first, ensure each dataset is in a separate column. Highlight both columns, go to the "Insert" tab, and select "Histogram" under the "Chart" options. Excel will create a histogram for each dataset. 

  1. How do you draw a histogram curve in Excel?

To draw a histogram curve in Excel, begin by placing your data into a column and then selecting that data. Proceed to the "Insert" tab and click on "Histogram" under the "Charts" section to generate your histogram. Enhance the histogram by right-clicking on the bars, selecting "Add Data Labels" for frequency visibility, and then choosing "Add Trendline" to introduce a curve that fits your data. 

  1. How do I calculate histogram bins in Excel?

To set up histogram bins in Excel, first find your data range by subtracting the minimum value from the maximum value. Decide how many bins you need and divide the range by this number to find the bin width. Enter these bin limits into a new column. To create the histogram, select your data and the bin range columns, go to the "Insert" tab, and choose "Histogram" from the "Charts" section.

  1. What is a histogram in Excel and how can you use it?

A histogram displays the frequency distribution in Excel of numerical data through bars, each representing a data range. It is used to assess the distribution, identify central tendencies, spot outliers, and compare datasets visually. This helps understand patterns such as skewness, variability, and differences between data sets. 

  1. How do I make a horizontal histogram in Excel?

Create a horizontal histogram in Excel by entering data, inserting a histogram chart, changing the chart type to horizontal, and customizing as needed. You will find a detailed guide in this tutorial. 

  1. How do I bin data in Excel?

To bin data in Excel, determine the desired number and range of bins, then use the FREQUENCY function with the data and bin ranges to calculate frequencies, followed by creating a column chart from the resulting frequency data for visual representation..

  1. How do you create a normal distribution in Excel?

To create a normal distribution curve in Excel, input x-values and use the NORM.DIST function to generate corresponding y-values, then insert a "Scatter with Smooth Lines" chart, and customize the chart for clarity, visually representing the bell-shaped curve of the distribution.

Devesh

Devesh

Passionate about Transforming Data into Actionable Insights through Analytics, with over 3+ years of experience working in Data Analytics, Data V…Read More

Get Free Career Counselling
form image
+91
*
By clicking, I accept theT&Cand
Privacy Policy
image
Join 10M+ Learners & Transform Your Career
Learn on a personalised AI-powered platform that offers best-in-class content, live sessions & mentorship from leading industry experts.
right-top-arrowleft-top-arrow

upGrad Learner Support

Talk to our experts. We’re available 24/7.

text

Indian Nationals

1800 210 2020

text

Foreign Nationals

+918045604032

Disclaimer

upGrad does not grant credit; credits are granted, accepted or transferred at the sole discretion of the relevant educational institution offering the diploma or degree. We advise you to enquire further regarding the suitability of this program for your academic, professional requirements and job prospects before enr...