How to Find Interquartile Range in Excel

There are two ways to “find interquartile range in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: use =QUARTILE.INC(array, quart) — pass 1 for the first quartile, 2 for the median and 3 for the third, so =QUARTILE.INC(B2:B200, 3) returns the 75th percentile.

On this page8

Syntax

=QUARTILE.INC(array, quart)

Arguments

Argumentrequired / optionalDescription
arrayrequiredThe range of values.
quartrequired0 minimum, 1 first quartile, 2 median, 3 third quartile, 4 maximum.

Related functions

PERCENTILEMEDIANPERCENTRANK
▤Annotated stepsExcel
1

Select the result cell and type =QUARTILE.INC(.

2

Select the range, then a comma.

3

Enter 1, 2 or 3 for the first quartile, median or third quartile.

4

Subtract Q1 from Q3 to get the interquartile range and build outlier bounds from it.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

QUARTILE splits a dataset into four equal parts, returning the value at whichever boundary you request. Its second argument is an index from 0 to 4, not a percentage, which trips people who come to it from PERCENTILE. Its practical value is the interquartile range: quartile 3 minus quartile 1 gives the spread of the middle half, and the standard outlier rule flags anything beyond 1.5 IQRs outside those bounds. That is also exactly what a box plot draws, so QUARTILE is how you replicate one numerically. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “find interquartile range in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Order values in B2:B200: =QUARTILE.INC(B2:B200, 1) and =QUARTILE.INC(B2:B200, 3) give the quartile bounds, and their difference is the IQR. An upper outlier threshold is =QUARTILE.INC(B2:B200,3) + 1.5*(QUARTILE.INC(B2:B200,3)-QUARTILE.INC(B2:B200,1)). QUARTILE is the numeric basis of the box plot and the standard outlier rule, which makes it the fastest way to describe spread without assuming a distribution. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “find interquartile range in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Passing 0.25 instead of 1 — the argument is an index from 0 to 4, not a proportion.
  • Using QUARTILE.EXC on small samples where the boundary is undefined, which returns #NUM!.
  • Reporting quartiles on a tiny dataset, where they are unstable and a simple sorted list says more.

Frequently asked questions

How do I calculate the interquartile range?

=QUARTILE.INC(range,3) - QUARTILE.INC(range,1). That span covers the middle 50 % of the data.

What is the difference between QUARTILE and PERCENTILE?

They answer the same question with different arguments. QUARTILE takes an index 0 to 4; PERCENTILE takes a decimal 0 to 1. Quartile 3 equals percentile 0.75.

How do I find outliers?

Flag anything below Q1 - 1.5×IQR or above Q3 + 1.5×IQR — the same rule a box plot uses for its whiskers.

Other ways people ask this

On the way here you may have searched this as “find interquartile range excel”, “how to find the interquartile range in excel” and “finding interquartile range in excel” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “find interquartile range excel”, “how to find the interquartile range in excel”, “finding interquartile range in excel” all point at the one operation explained on this page, which is why they all lead here.