How to Make a Histogram in Excel Using Data Analysis: 4 Methods

Method  1 – Prepare Dataset

  • We created a dataset with three columns. The first two are for student information, ID and Name, and the third one contains the students’ GPA scores. I will create a histogram for the GPA scores.
  • We added another column to the dataset that is needed for the histogram. The range of bins which starts from 2 and ends at 4 with intervals of 0.25.

Inserting Bin Range to Make a Histogram in Excel Using Data Analysis

Method 2 – Enable Data Analysis ToolPak

  • Open an Excel Workbook and go to File tab >> Options.

Options in Micorosft Excel

  • A pop-up window named Excel Options will appear.
  • Click on the Add-ins and select the “Go” button.

Manage Add-ins in Excel

  • Another new pop-up window will appear named “Add-ins”.
  • Mark the box for “Analysis ToolPak” and press OK.

Mark Analysis ToolPak Checkbox

  • Go to the Data tab in the top ribbon, you will see a menu named “Data Analysis” existing.

Open Data Analasis toolpak from Data tab

Method 3 – Go to the Histogram Feature in Data Analysis ToolPak

  • A new pop-up window named Data Analysis will appear.
  • C lick on the Histogram option in the Analysis Tools list and press OK.

Select Histogram in Data Anlaysis window

Method 4 – Insert Input, Output, and Bin Range

  • Select the data range for which you want to create a histogram in the box named Input Range. We selected D5:D24 as the Input Range which contains the GPA scores of the students.
  • Select the cell range containing the histogram’s bin values. We chose cell E5:E13 as the Bin Range.
  • Assign a cell as the output range from which the output chart and frequency table will be created.
  • Mark the checkbox saying “Chart Output” so, you will get the Histogram chart as output and press OK.

Insert Input, Output, and Bin Range to create Histogram

Histogram and frequency table in Excel Using Data Analysis


How to Make a Histogram in Excel with Two Sets of Data Using Data Analysis

  • We created 2 sets of data that contain GPA scores for Section A and Section B
  • The list of bins is in cell range F5:F13.

Dataset to Make a Histogram in Excel with Two Sets of Data Using Data Analysis

  • Insert the input range as “D5:E24” and the bin range as “F5:F13”.
  • Select a cell from where the output will show.
  • Before, mark the checkbox of chart output and press OK.

Inserting values in Histogram window

  • See that, in the histogram, there is no separation between the two sets of data, and Excel has merged the two datasets as shown in the histogram.

Histogram in Excel with Two Sets of Data Using Data Analysis

Create a histogram chart showing 2 sets of data individually then, you have to calculate the frequency of the dataset using the FREQUENCY function and then plot a histogram chart.


Download Practice Workbook

You can download the practice workbook from here:


Related Articles


<< Go Back to Excel Histogram | Excel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Osman Goni Ridwan
Osman Goni Ridwan

OSMAN GONI RIDWAN is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, OSMAN has transitioned into the role of a content developer. Specializing in creating technical content exclusively centered around Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo