How to Create Box and Whisker Plots in Excel

create box and whisker plot in excel

The surging need for representing the variation in changing sets of data has paved the path for a wide range of graphical methods.

Although in most cases, an analysis carried out by histograms offers a sufficient display, a box and whisker plot is increasingly preferred to render additional insights for letting multiple data sets be shown in the same graph.

Box and whisker plots, also regarded as box plots may appear to be primitive when compared to histograms or density plots. These charts take up less space and are useful in instances when comparing distributions between multiple groups or datasets.

In addition, the box and whisker plots can be considered very effective as they are easy to read. They not only offer the ability to summarize data derived from multiple sources but also exhibit the results within a single graph.

Another aspect that makes these plots unique is that they ensure the comparison of data that spans across different categories to offer easier and more effective decision-making.

Best Charts, Graphs, and Diagram Tools
  1. 10 Best Online Chart Maker of 2023
  2. 10 Best Microsoft Visio Alternatives 2023
  3. 10 Best Org Chart Maker of 2023
  4. 10 Best UML Diagram Tools 2023
  5. 10 Best Entity Relationship Diagram (ERD) Tools 2023

Box and Whisker Plots

Box and whisker plots can also be touted as a convenient method for visually depicting the data distribution through their quartiles. They are also best known for displaying the five-number summary, inclusive of the minimum, first and third quartile, median, and the maximum of a data set.

In this chart, a box is drawn starting from the first quartile towards the third quartile and then a vertical line traverses through the box at the median. The whiskers go from each of the quartile to the maximum or minimum.

These plots could either be drawn vertically or horizontally. To elaborate further, the lines that extend parallel from the boxes are addressed as whiskers, as they are incorporated to indicate the variability on the outside of the upper and lower quartiles. Also, outliers are at times plotted as individual dots in line with the whiskers.

Types of Box and Whisker Plots

Although the box and whisker plots are shaped to offer information on the shape, variability, and centers of several statistical data sets, they are also widely employed for explanatory data analysis. Mentioned below are the commonly used types of plots.

  • Variable-width Box and Whisker Plots
  • Notched Box and Whisker Plots

Steps involved in creating a Box and Whisker Plot in Microsoft Excel

The MS Excel application is extensively deployed for the creation and designing of a box and whisker plot, on account of its simplicity and user-friendly interface.

The generation of box and whisker plots in the MS Excel application deals with the execution of a few miniature steps that simply navigate through the workspace with the click of a mouse. The procedure revolves around the calculation of quartile values and the quartile differences from the source data set.

Available Data:

To generate a box and whisker plot in the application, let us take into account a data set comprising scores of students listed in the 2nd column of the Excel sheet as shown below.

available data for box and whisker plot in excel

Step 1:

The foremost step is to find the values of the minimum and maximum value, the median, the first quarter (Q1) and the third quarter (Q3) by using the inbuilt formulas. The value for the minimum and maximum scores as well as the Median is calculated with the help of the MIN, MAX and Median functions respectively.

While the value for Q1 and Q3 is calculated with the Quartile Function as shown below.

box and whisker plot in excel step 1a
Calculation of Q1
box and whisker plot in excel step 1b
Calculation of Q3

Step 2:

The next step is to calculate the difference between each of the phases. To elaborate this, the new column will enlist the minimum score, the difference between the first quartile and minimum value, the difference between the median and first quartile, the difference between the third quartile and median, and the difference between the maximum value and third quartile. This is as shown below.

box and whisker plot in excel step 2

Step 3:

Now selecting all the values in the third column, go to the menu bar, click on Insert and from the chart options, choose Stacked Bar Chart to pop up the graph on the screen.

box and whisker plot in excel step 3

Step 4:

Now, select the graph and navigate to the Switch Row/Column option on the status bar as shown below.

box and whisker plot in excel step 4

The chart will now appear as follows:

box and whisker plot in excel step 4b

Step 5:

As we do not need the minimum value in making the plot, select it from the graph, and then right click and change its color to No Fill.

box and whisker plot in excel step 5

Step 6:

The next step is to add the whiskers on the far left and far right. For this, click on the first box and then go to Add Chart Element, then choose Error Bars and then click on More Error Bar Options as shown below.

box and whisker plot in excel step 6a

Once done, in the Horizontal Error Bar options, alter the direction value to Minus, and change the Fixed Value to 133 (the difference between the first quartile and the minimum value) as shown.

box and whisker plot in excel step 6b
Then select the box and change its color to No Fill.
box and whisker plot in excel step 6c

Step 7:

Now select the yellow box and repeat the same step as above to add the error bar. However, here in the Horizontal Error Bar options, change the direction to Plus, and make the Fixed Value 256 (i.e. the difference of the maximum value and third quartile) as seen.

box and whisker plot in excel step 7a

Now, similarly, alter the color of the last box to No Fill as pictured below.

box and whisker plot in excel step 7b

The chart will now appear as follows.

box and whisker plot in excel step 7c

Step 8:

The next step is to customize the chart with regards to titles and text fonts as well as highlighted values.

Best Charts, Graphs, and Diagram Tools
  1. 10 Best Online Chart Maker of 2023
  2. 10 Best Microsoft Visio Alternatives 2023
  3. 10 Best Org Chart Maker of 2023
  4. 10 Best UML Diagram Tools 2023
  5. 10 Best Entity Relationship Diagram (ERD) Tools 2023
box and whisker plot in excel step 8a

Then the final and most important part in the whole procedure is to change the color of one of the boxes to match the other.

box and whisker plot in excel step 8b

Finally, add borders to both the boxes to differentiate them. For this, select one of the box, right click and then go to Format Data Series. In the Border options, choose Solid Line, increase the line width and change the line color to Black.

box and whisker plot in excel step 8c

Repeat the same process for the other box. The final chart will appear as shown in the below picture.

box and whisker plot in excel result

Leave a Comment