5 Number Summary in Excel: Formulas, QUARTILE & Box Plot Guide (2026)
Imagine you have 500 sales figures in a spreadsheet and your boss asks for a quick summary. Five formulas, five seconds, done. Microsoft Excel's built-in functions make calculating the five number summary nearly instant.
Excel Functions You'll Need
Excel provides these functions for the five number summary:
MIN(range): Returns the minimum valueMAX(range): Returns the maximum valueMEDIAN(range): Returns the median (Q2)QUARTILE(range, quart)orQUARTILE.INC(range, quart): Returns quartiles
Step-by-Step Instructions
Step 1: Enter Your Data
Put your data in a single column. For example, enter values in cells A1 through A20.
Step 2: Calculate Minimum
In an empty cell, enter:
=MIN(A1:A20)
Step 3: Calculate Q1
In another cell, enter:
=QUARTILE.INC(A1:A20, 1)
Or for older Excel versions:
=QUARTILE(A1:A20, 1)
Step 4: Calculate Median
You have two options:
=MEDIAN(A1:A20)
Or:
=QUARTILE.INC(A1:A20, 2)
Step 5: Calculate Q3
=QUARTILE.INC(A1:A20, 3)
Step 6: Calculate Maximum
=MAX(A1:A20)
QUARTILE.INC vs. QUARTILE.EXC
Excel offers two quartile functions with different calculation methods:
- QUARTILE.INC: Uses the percentile/interpolation method. This is the default and matches most statistical software.
- QUARTILE.EXC: Uses an exclusive method. May give slightly different results for small datasets.
For most purposes, use QUARTILE.INC. It matches R, Python pandas, and our online calculator's percentile method.
Pro Tip
Create a template with all formulas ready. Set up labeled cells (Min, Q1, Median, Q3, Max) with formulas pointing to a data range. When you paste new data into that range, the five number summary updates automatically.
Creating a Box Plot in Excel
Excel 2016 and later versions include built-in box plots:
- Select your data range
- Go to Insert → Chart
- Choose "Box & Whisker" from the Statistical charts
- Excel automatically creates a box plot from your data
For older Excel versions, you may need to create a custom chart or use add-ins.
Calculating IQR and Outlier Fences
To complete your analysis, add these formulas:
IQR:
=QUARTILE.INC(A1:A20, 3) - QUARTILE.INC(A1:A20, 1)
Lower Fence:
=QUARTILE.INC(A1:A20, 1) - 1.5 * (QUARTILE.INC(A1:A20, 3) - QUARTILE.INC(A1:A20, 1))
Upper Fence:
=QUARTILE.INC(A1:A20, 3) + 1.5 * (QUARTILE.INC(A1:A20, 3) - QUARTILE.INC(A1:A20, 1))
Comparing Excel to Our Calculator
Excel's QUARTILE.INC uses the percentile interpolation method, which may give slightly different Q1 and Q3 values than TI calculators or Tukey's hinges method.
Our calculator offers all three methods, so you can match Excel's results by selecting "Percentile Method."
Video Tutorial
Watch this quick tutorial on calculating the five number summary in Excel:
Video by Becky Moening. For more video tutorials, see our Video Resources page.
Conclusion
Excel's built-in functions make calculating the five number summary straightforward. With just five formulas, you can summarize any dataset. For verification or when you need different calculation methods, use our online calculator.
Verify Your Calculations
Use the free five number summary calculator to check your work.
Open CalculatorWritten by Oge Nwaozuzu
Statistics educator and data analyst. Creator of 5numbersummarycalculator.app.