Box And Whisker Plot In Excel

Table Of Contents

arrow

What Is Excel Box And Whisker Plot?

A box and whisker plot in Excel is an exploratory chart that shows statistical highlights and data set distribution. This chart is used to indicate a five-number summary of the data. These five-number summaries are “Minimum Value, First Quartile Value, Median Value, Third Quartile Value, and Maximum Value.” Using these statistics, we display the distribution of the dataset. Below is a detailed explanation of these statistics.

For example, suppose you have a data set and need to show data distribution into quartiles, highlighting the mean and outliers. In addition, we may use a box and whisker chart to compare and analyze statistically, e.g., medical results, test scores, etc.

Box-and-Whisker-Plot-in-Excel
  • Excel's box and whisker plot uses five statistical measures, including minimum, first quartile, median, third quartile, and maximum values, to summarize data distribution in detail.
  • To get a better understanding of how your data is distributed, you can use Excel's box and whisker plot.
  • The box and whisker plot chart is only commonly used in the world of statistics, perhaps due to a lack of awareness among Excel users. Additionally, some users may need help understanding how to interpret the chart.

How To Create A Box And Whisker Plot In Excel?

Box and whisker plot in Excel requires 5 important values. They are:

  • Minimum Value: The minimum or smallest value from the dataset.
  • First Quartile Value: The value between the minimum and median values.
  • Median Value: Median is the middle value of the dataset.
  • Third Quartile Value: The value between the median and maximum values.
  • Maximum Value: The highest value of the dataset.

One of the problems with the box and whisker plot chart is that it is not familiar to use outside the statistical world may be due to a lack of awareness among its users in the Excel community. On the other hand, it could also be the reason for the lack of knowledge on interpretation of the chart.

Let us learn how to create box and whisker plots in Excel with detailed following examples.

Examples

Example #1

For a better explanation of the box and whisker plot chart with Excel, we are taking the sample data of the examination of the previous 3 years. Below is some data.

Box and Whisker Plot Example 1

We must first calculate the five statistics numbers from the above data or each year for each year. Five numbers of statistics are “Minimum Value, First Quartile Value, Median Value, Third Quartile Value, and Maximum Value.”

For this, create a table like the one below.

Box and Whisker Plot Example 1-1

First, we must calculate the “Minimum Value” for each year.

Box and Whisker Plot Example 1-2.png

Then, we need to calculate the "First Quartile Value."

Box and Whisker Plot Example 1-3

Then, we will calculate the "Median Value."

Box and Whisker Plot Example 1-4.png

Next, we should calculate the "Third Quartile" value.

Box and Whisker Plot Example 1-5.png

Then, the final statistics are the "Maximum Value" from the loss.

Box and Whisker Plot Example 1-6.png

Now, we have completed performing the five number statistics. However, we need to create one more similar table to find the differences. We need to retain only the minimum value as it is.

Box and Whisker Plot Example 1-7

To find the difference for "First Quartile" is First Quartile – Minimum Value."

Box and Whisker Plot Example 1-8

To find the difference for "Median Value" is "Median Value – First Quartile."

Box and Whisker Plot Example 1-9

To find the difference for the "Third Quartile" is "Third Quartile – Median Value."

Box and Whisker Plot Example 1-10

To find the difference for "Maximum Value" is the "Maximum Value – Third Quartile."

Box and Whisker Plot Example 1-11

Our final table is ready to insert a chart for the data. Now select the data to Insert Stacked Column Chart in Excel.

Box and Whisker Plot Example 1-12

Now, we will have a chart like the one below.

Box and Whisker Plot Example 1-13

We must select the data under the "Design Ribbon" and select “Switch Row / Column.”

Box and Whisker Plot Example 1-14

Our rows and column data in the chart are switched, so our modified chart may look as follows.

Box and Whisker Plot Example 1-15

We will select the bottom-placed bar, i.e., the blue-colored bar, and make the fill "No Fill."

Box and Whisker Plot Example 1-16

Therefore, now, the bottom bar is not visible in the chart.

Box and Whisker Plot Example 1-17

Now, change the horizontal axis labels to 2017, 2018, and 2019.

Box and Whisker Plot Example 1-19

The box chart is ready. Next, we need to create a whisker for these boxes. Now, selecting the top bar of the chart will make no fill.

Box and Whisker Plot Example 1-20

We will go to the "Design" tab and "Add Chart Elements" by 

selecting the same bar.

B and W Plot Example 1-21

Under "Add Chart Elements," click on “Error Bars - Standard Deviation.”

B and W Plot Example 1-22

Now, we have whisker lines on top of the bars.

B and W Plot Example 1-23

Now select newly inserted Whisker lines and click â€śCtrl + 1” to open the format data series option to the right of the chart.

Under Format Error Bars” we need to make the following changes.

>>> Direction “Minus”

>>> End Style “No Cap”.

>>> Error Amount > Percentage > 100%.

B and W Plot Example 1-24

Now, the whisker lines will look as shown below:

B and W Plot Example 1-25

We will select the bottom-placed bar and make the fill "No Fill."

B and W Plot Example 1-26

Then, we would follow the same steps as above to add the whisker line at the bottom of the box. So now our box and whisker Excel chart will look as follows.

Box and WhiskerPlot Example 1-27

Example #2

Consider the below table showing total qualified percentage in 2019, 2020 and 2021. Now let us learn how to create box and whisker plot in Excel.

Box and Whisker Plot in Excel - Example 2

We must first calculate the five statistics numbers from the above data or each year for each year. Five numbers of statistics are “Minimum Value, First Quartile Value, Median Value, Third Quartile Value, and Maximum Value.”

For this, create a table and calculate the “Minimum Value” for each year using the formula, =MIN(A3:A11).

Next, we need to calculate the "First Quartile Value" using the formula =QUARTILE.INC(A3:A11,1)

Then, we should calculate the "Median Value" using the formula, =QUARTILE.INC(A3:A11,2)

Then, we should calculate the "Third Quartile" value using the formula, =QUARTILE.INC(A3:A11,3)

Finally, we should find the "Maximum Value" from the loss, using the formula, =MAX(A3:A11)

Box and Whisker Plot in Excel - Example 2 - Maximum Value

Now, we have completed performing the five number statistics. However, we need to create one more similar table to find the differences. We need to retain only the minimum value as it is.

Box and Whisker Plot in Excel - Example 2 - find differences

To find the difference for "First Quartile", the formula is First Quartile – Minimum Value."

To find the difference for "Median Value", the formula is "Median Value – First Quartile."

To find the difference for the "Third Quartile", the formula is "Third Quartile – Median Value."

To find the difference for "Maximum Value", the formula is "Maximum Value – Third Quartile."

Example 2 - minus

Our final table is ready to insert a chart for the data. Now select the data to insert the stacked column chart in Excel.

Example 2 - Insert stacked column

We must select the data under the "Design Ribbon" and select “Switch Row / Column.”

Example 2 - Design

Our rows and column data in the chart are switched.

We will select the bottom-placed bar, i.e., the blue-colored bar, and make the fill "No Fill."

Therefore, now, the bottom bar is not visible in the chart.

Now, change the horizontal axis labels to 2017, 2018, and 2019.

The box chart is ready. Next, we need to create a whisker for these boxes. Now, selecting the top bar of the chart will make no fill.

We will go to the "Design" tab and "Add Chart Elements" by 

selecting the same bar.

Example 2 - add chart element

Under "Add Chart Elements," click on “Error Bars - Standard Deviation.”

Example 2 -Error bars

Now, we will get whisker lines on top of the bars.

Next, select newly inserted Whisker lines and click â€śCtrl + 1” to open the format data series option to the right of the chart.

Under “Format Error Bars,” we need to make the following changes.

>>> Direction “Minus”

>>> End Style “No Cap”.

>>> Error Amount > Percentage > 100%.

Example 2 - Format error bar

Now, the whisker lines will appear.

We will select the bottom-placed bar and make the fill "No Fill."

Example 2 - No fill

Then, we would follow the same steps as above to add the whisker line at the bottom of the box. So now our box and whisker Excel chart will look as follows.

Example 2 - chart

Likewise, we can create box and whisker plot in Excel.

Uses Of Box And Whisker Plot In Excel

  • Box and whisker plot in Excel is used to represent the data in a graph, summarizing a set of data.
  • Also, it portrays the distribution of data over a period of time.
  • This chart is used by schools, classrooms or game boards to show the test scores.

Important Things To Note

  • Box and whisker plot in Excel was first used by John Wilder Tukey.
  • It is not a in-built plot but with use of simple statistical functions, we can create box and whisker plot in Excel.
  • It requires Minimum Value, First Quartile Value, Median Value, Third Quartile Value, Maximum Value.

Frequently Asked Questions

1. How do you increase the spacing between boxes and whisker plots in Excel?

Open the 'Format Data Series' pane by right-clicking on one of the boxes on the chart. You can adjust the spacing of the gap between the boxes by increasing or decreasing the gap width.

2. What is a parallel box and whisker plot?

Parallel box-and-whisker plots are a useful tool for comparing the five-number summaries of two or more data sets visually.

3. What are the advantages of box and whisker plot?

Box and whisker plots are an efficient and straightforward way to summarize data from various sources and display the outcomes in a single graph. They allow for easy comparison of data from different categories, making decision-making more effective.