Box and Whisker Plot in Excel - Step by Step Tutorial
Box and Whisker Plot in Excel - Step by Step Tutorial
Note: you don't have to sort the data points from smallest to largest, but it will
help you understand the box and whisker plot.
DC-70GHz microwave RF
device
LC Power Divider
Specialized Manufacturing RF filter High, Low,
Stop, Band Pass Filter
WT Microwave INC.
OPEN
2. On theWT
Contact InsertMicrowave
tab, in the ChartsINC
group, click the Statistic Chartrfsymbol.
- 43.7-55.05GHz Filter OPEN
Professional manufacture in research and development, of microwave device WT Microwave INC.
Result:
Explanation: the middle line of the box represents the median or middle number
(8). The x in the box represents the mean (also 8 in this example). The median
divides the data set into a bottom half {2, 4, 5} and a top half {10, 12, 15}. The
bottom line of the box represents the median of the bottom half or 1st quartile (4).
The top line of the box represents the median of the top half or 3rd quartile (12).
The whiskers (vertical lines) extend from the ends of the box to the minimum value
(2) and maximum value (15).
✦ Outliers
To see how Excel handles outliers in box and whisker plots, check out the following
example.
Note: the median or middle number (8) divides the data set into two halves: {1, 2,
2, 4, 5} and {10, 12, 15, 18, 35}. The 1st quartile (Q1) is the median of the first half.
Q1 = 2. The 3rd quartile (Q3) is the median of the second half. Q3 = 15.
Vanda Tailors
Hoi An Custom Suits
Leading Suit tailors in Hoi An Best
Quality & Price guaranteed!
vandatailors.com
OPEN
2. On the Insert tab, in the Charts group, click the Statistic Chart symbol.
Result:
Explanation: the interquartile range (IQR) is defined as the distance between the
1st quartile and the 3rd quartile. In this example, IQR = Q3 - Q1 = 15 - 2 = 13. A
data point is considered an outlier if it exceeds a distance of 1.5 times the IQR
below the 1st quartile (Q1 - 1.5 * IQR = 2 - 1.5 * 13 = -17.5) or 1.5 times the IQR
above the 3rd quartile (Q3 + 1.5 * IQR = 15 + 1.5 * 13 = 34.5). Therefore, in this
example, 35 is considered an outlier. As a result, the top whisker extends to the
largest value (18) within this range.
4. Change the last data point to 34.
Result:
Explanation: all data points are between -17.5 and 34.5. As a result, the whiskers
extend to the minimum value (2) and maximum value (34).
✦ Box Plot Calculations
Most of the time, you cannot easily determine the 1st quartile and 3rd quartile
without performing calculations.
1. For example, select the even number of data points below.
2. On the Insert tab, in the Charts group, click the Statistic Chart symbol.
Result:
Explanation: Excel uses the QUARTILE.EXC function to calculate the 1st quartile
(Q1), 2nd quartile (Q2 or median) and 3rd quartile (Q3). This function interpolates
Chapter
Statistical Functions
Learn more, it's easy
Average
Negative Numbers to Zero
Random Numbers
Rank
Percentiles and Quartiles
Box and Whisker Plot
AverageIf
Forecast
MaxIfs and MinIfs
Weighted Average
Mode
Standard Deviation
Frequency
Download Excel File
box-whisker-plot.xlsx
Next Chapter
Round
Follow Excel Easy
Become an Excel Pro
1. Introduction
2. Basics
3. Functions
4. Data Analysis
5. VBA