×

Histogram in Excel

What is Histogram in Excel?

A histogram is a graphical tool familiar for summarizing discrete or continuous data, where the data are measured on an interval scale.” 

Karl Pearson described this technique to assess the probability distribution of the given variable. It displays the data in a frequency of interval for the metric variable. The intervals are known as "bins" that have similar widths. It is used for data analysis in business, where the data are represented in specified ranges in the column chart. The Histogram has the feature of simplicity and versatility. It represents the data in continuous frequency distributions, and the data are described in the form of a bar chart. There is no gap present between the bar chart. The data points in the Histogram are grouped to represent the logical range or bit.

Additional Features in Histogram

 To enhance the appearance, additional features like colour and distance are changed. Let's have a look at how to format the Histogram in Excel.

  1. X-axis – The dataset variables are represented in charts X-axis.

Split by A chart table is created for categorical variables where each cell is designed with a separate category by Split by Variable. This feature adds dimensions to the chart by showcasing the information in a particular variable category.

  • KDE curve- If this feature is enabled, the kernel density estimate curve will display in the chart
  • Distribution Curve- If this feature is enabled, the distribution fitting curve will display in the chart.

Types of Histogram

The various types of Histogram as follows,

  • Normal Distribution
  • Bimodal Distribution
  • A Right Skewed Distribution
  • A Left Skewed Distribution
  • A Random Distribution

Normal Distribution

It is one of the statistical functions. For given data or parameters it calculates the probability density function or cumulative normal distribution. It is used in Stock Market Analysis. Formula used to calculate Normal Distribution is,

=NORMDIST(x, mean, standard_dev, cumulative)

The normal distribution curve is bell-shaped with one peak and is symmetric around the mean.

Bimodal Distribution

Usually in Normal Distribution the graph contains one peak. In bimodal distribution it contains two peaks. The data present in the bimodal are separated and analyzed as a separate normal distributions. Another name for this distribution is double peaked distribution.

Step 1: Enter the data in a spreadsheet. Here the id.no and students marks mentioned.

Histogram

STEP 2: Select the Id.no and marks and click Insert>Chart>Scatter.  A chart is created for the given data. It has two peaks based on the variation of data.

Histogram

Right Skewed Distribution

In right skewed distribution large sets of data present in the left side and only a few data present in the right side. Another name for this is positively skewed distribution.

Histogram

A look alike of right skewed distribution is mentioned above.

Left Skewed Distribution

Another name for Left skewed distribution is Negatively Skewed Distribution. In this distribution large number of dataset occur in the right side and only a few data occur in left side. If the range boundary of the data occurs in right side left skewed distribution takes place.

Histogram

Random Distribution

As the name itself suggests, it has several peaks called as multimodal distribution. The data are separated and analyzed and it is a combination of normal distributions.

Histogram

How to create a Histogram in Excel?

Creating the Histogram in the Excel Spreadsheet varies depending upon the user's Excel Version. In the histogram, data intervals are called Bins, and the number of indices is called Histogram. It is used to relate one variable.

To implement normal distribution in Excel, following steps are implemented.

STEP 1: Enter the data in spreadsheet. Here the student Id, Name and marks are entered.

Histogram

STEP 2: To calculate normal distribution, the mean and standard deviation is needed. To find the mean, the average formula is applied. Choose a cell in the worksheet and type the formula as =AVERAGE (range)

Histogram

STEP 3: The mean value for C2:C15 is displayed in the cell D2.

Histogram

STEP 4: To found standard deviation, the formula used are =STDEV (range)

Histogram

STEP 5: The standard deviation for C2:C15 is calculated and displayed in the cell E2.

Histogram

STEP 6: As mean and standard deviation is found, the normal distribution is calculated using the formula =NORM.DIST (C2, $D$2, $E$2, FALSE)

Histogram

STEP 7: The value of normal distribution is shown below.

Histogram

STEP 8: By applying this formula to the rest of the data, the normal distribution is calculated as shown below.

Histogram

Normal Distribution Graph in Excel

To insert a graph in Excel, sort the mark columns from lowest to highest for the normal distribution of the graph.

STEP 1: To sort the values from smallest to largest, select the mark column. Choose Home>Sort & Filter> Sort Ascending

Histogram

STEP 2: The values are arranged from ascending to descending order. The arranged values are shown below.

Histogram

STEP 3: To insert chart select the mark and normal distribution column. Choose Insert>Insert Chart > Scatter.

Histogram

STEP 4: Select the first chart in scatter. A normal distribution graph is created for the given range of data.

Histogram

STEP 5: One can name the horizontal and vertical axes by choosing the Chart>Axis Title> Horizontal/Vertical Axis.

Histogram

STEP 6: The horizontal and vertical axes are named as Marks and Normal Distribution.

Histogram

How to create a histogram for a data in an Excel?

Excel 2016 has in-built histogram chart option.

Excel 2013, 2010 or prior version has no default histogram function. One can install it by means of Data Analysis Tool pack or using Frequency Function.

Let’s have a look about how to create a histogram chart in Excel 365.

To create a histogram for a data in excel following steps are followed.

STEP 1: Enter the data in the spreadsheet. Here various vegetables and quantity of purchased is mentioned below.

Histogram

STEP 2: To create histogram, select the entire dataset. Choose>Insert tab>Chart>Histogram.

Histogram

STEP 3: A histogram chart is created for given data.

Histogram

STEP 4: Right click the chart, it displays the several options as shown below. You can change the histogram settings by choosing your desired color, title and gridlines.

Histogram

STEP 5: By using format option the horizontal and vertical axes are named.

Histogram

Uses of Histogram

  • The histogram is used to determine the data's mean, mode, distribution and median. Data is presented in different frequencies and types.
  • The data presented should be in numerical form.
  • The distribution shape is checked by using this method.
  • The output is predicted using checking two or more process
  • It is used to check whether it meets the customer's requirements.

Related Topics

Excel IFNA Function

Excel IFNA Function The IFNA in Excel is used to remove the #N/A type of errors in excel values cells with our choice of value. IFNA function is from Excel 2013 onwards, so it...

1 minute read.

Excel COUNTA() Function

Excel COUNTA() Function The COUNTA() function counts the number of cells in a range that are not empty. Syntax COUNTA([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents...

1 minute read.

Excel EOMONTH() Function

Excel EOMONTH() Function The EOMONTH() function in excel returns the serial number of the last day of the month before or after a specified number of months. Syntax EOMONTH (Start_Date, Month) Parameter Start_Date(required)- This parameter...

1 minute read.

Excel MATCH () Function

Excel MATCH () Function The MATCH () function in excel locates the position of a lookup value in a row, column, or table and returns the relative position of an item in an array. Syntax MATCH...

2 minutes read.

Excel MID() Function

The MID() function in excel is used to return a specific number of characters from a text string starting at the position you specify. One can change the start of the string, thus...

1 minute read.

What is a name box in Excel?

The name box in Microsoft Excel specifies a name for a single cell or a table. The name box is present in the top left corner, left to the formula...

4 minutes read.

Locate Maximum Values in Excel

Excel is a combination of numeric values and numbers. To retrieve the result, Excel provides various formulas and functions. Sometimes the user needs to find the largest value from the...

5 minutes read.

Excel ROUNDUP() Function

Excel ROUNDUP() Function The ROUNDUP() function in excel returns a number rounded up to the nearest possible value and away from zero. Syntax ROUNDUP(Number, num_digits) Parameter Number(required)- This parameter represents the number which you want to...

1 minute read.

Excel VLOOKUP() Function

Excel VLOOKUP() Function The VLOOKUP() function in excel is used to lookup the value on the leftmost side of the table and then return the value in the corresponding row basis on the supplied...

2 minutes read.

Shortcut Keys in Excel

Shortcut Keys in Excel Shortcut keys in Excel are used to simplify the work and save time by pressing a few keys.  These keys are used for navigating and working with Excel spreadsheets quickly and easily. Basic Selection:...

9 minutes read.

Excel AVERAGE() Function

Excel AVERAGE() Function The AVERAGE() function returns the average of its arguments, which can be number or names, arrays, or references that contain numbers. It ignores text values and blank cells. Syntax AVERAGE(Number1,Number2, ...) Parameter Number1(required)- This parameter...

1 minute read.

Array Formula in Excel

How to use Array Formula in Excel? By default, Excel consists of various formulas for calculating the data. Among various formulas, the Array formula is a powerful one that is used...

8 minutes read.

Insert Row in Excel

It was known that we have various multiple ways that are extremely helpful in inserting a particular row in the Microsoft Excel. And we have lots of shortcut options available...

6 minutes read.

Row Difference in Excel

Microsoft Excel is used for multiple purposes in various organizations. It is a combination of numeric values, alphabets etc. To calculate data, the user organizes the data according to their...

5 minutes read.

Excel EDATE() Function

Excel EDATE() Function The EDATE() function in excel returns the serial number of the date that is the indicated number of months before or after the start date. Syntax EDATE(Start_Date, Month) Parameter Start_Date(required)- This parameter represents...

1 minute read.

Calculating Age in Excel

Microsoft Excel provides separate functions for various mathematical operations. Nowadays, Microsoft Excel is widely used by large and various organizations. Using formulas one can calculate the statistical functions quickly and...

2 minutes read.

Charts in Excel

Charts Definition of Charts A chart is used to show numbers or data in a spreadsheet visually. It is the visual representation of your data. It is a tool that can be used in...

3 minutes read.

Excel OR() Function

The OR() function in excel tests the multiple sets of conditions and returns TRUE if any of the arguments are TRUE and FALSE if all the arguments supplied do not meet the...

2 minutes read.

Excel DAYS() Function

The DAYS() function in excel returns the number of days that exist between two dates. Syntax DAYS (end_date, start_date) Parameter end_date (required)- This parameter represents the end date. start_date (required)- This parameter represents the start date. Category Date...

1 minute read.

Pivots Table in Excel

What is a Pivot? A pivot table is a tool to create summary reports from data-sets irrespective of their sizes but is helpful even if the data is more than just...

5 minutes read.