Two quick spread measures: the range (max minus min) shows the full extent, and the IQR (the middle 50%) shows the typical spread, ignoring outliers.
The example
Spread shown two ways.
| A | B | |
|---|---|---|
| 1 | Measure | Value |
| 2 | Range | 60 |
| 3 | IQR (Q3−Q1) | 22 |
The formula
The formula:
How it works
How it works:
- Range =
MAX − MIN— the total spread, but sensitive to a single outlier. - IQR =
QUARTILE(rng,3) − QUARTILE(rng,1)— the spread of the middle 50%, which ignores extremes. - A large range but small IQR signals outliers stretching the extremes.
- IQR powers the standard outlier rule: anything beyond
Q1 − 1.5×IQRorQ3 + 1.5×IQR.
Robust vs sensitive: the IQR is resistant to outliers (like the median), while the range and standard deviation are not. Report the IQR for skewed data; the range for a quick “how wide.”
Try it: interactive demo
Values.
Variations
Range only
Full extent:
Outlier fences
1.5×IQR rule:
QUARTILE.INC
Modern name:
Pitfalls & errors
Range is fragile. One extreme value blows up the range; the IQR resists that.
QUARTILE vs .INC/.EXC. Classic QUARTILE = inclusive; .EXC excludes the endpoints and gives slightly different Q1/Q3.
Small samples. Quartiles are unstable with very few values.
Practice workbook
Frequently asked questions
How do I calculate the range and IQR in Excel?
Why use IQR instead of range?
How do I find outliers with the IQR?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class