Excel Formulas to use Conditional median with criteria in Excel!!
Tags: excelformula, excelformulas
Published: 2021-11-11 08:12:46

---
title: Excel Formulas to use Conditional median with criteria in Excel!!
published: true
date: 2021-11-03 13:01:06 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-use-conditional-median-with-criteria-in-excel/
---

Here, we will guide you to learn the simple and useful  **formulas to**   **use conditional median with criteria** in Excel. You can also learn the basic syntax with brief explanations. Let’s see them below!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

## Generic Formula

- To use conditional median with criteria in Excel, use the below-mentioned formula.

```
{=[MEDIAN](https://geekexcel.com/how-to-use-excel-median-function-in-office-365-with-examples/)([IF](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)(criteria,range))}

```

## Syntax Explanation

- **MEDIAN** – This **[MEDIAN function](https://geekexcel.com/how-to-use-excel-median-function-in-office-365-with-examples/)** returns the median (middle number) from the given set of input numbers.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.
- **Comma symbol (,) – **It is a separator that helps to separate a list of values.
- **Range ** – It represents the input range.
- **IF** – The **[IF function](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)** return one value for a TRUE result, and another for a FALSE result.

## Practical Examples

Let’s consider the below example. Here we are going to use conditional median with criteria in Excel.

- For instance, you have to  **create a sample data**  in Excel.

![](https://geekexcel.com/wp-content/uploads/2021/11/Sample-data-13.png)
_Sample data_

- To calculate a conditional median, you need to use the following formula in **[formula bar](https://geekexcel.com/how-to-use-formula-bar-for-various-purpose-in-excel-365/)**.

```
{=[MEDIAN](https://geekexcel.com/how-to-use-excel-median-function-in-office-365-with-examples/)([IF](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)(group=E5,data))}

```

![](https://geekexcel.com/wp-content/uploads/2021/11/Use-the-Formula-15.png)
_Use the Formula_

- Then, you have to  **press the Ctrl+Shift+Enter key**  to get the result in the  **cell F5**  as shown below.

![](https://geekexcel.com/wp-content/uploads/2021/11/Result-for-cell-F5-1.png)
_Result for cell F5_

- Now, you need to  **press Ctrl+D key**  to get the results in all other columns.

![](https://geekexcel.com/wp-content/uploads/2021/11/Output-7.png)
_Output_

## Verdict

In this tutorial, we explained the  **formulas to use conditional median with criteria** in Excel. Hope that this tutorial is useful to you. Mention your  **queries**  in the  **comment**  box below. Click here to know more about **[Geek Excel](https://geekexcel.com/)!! **And [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

**Related Articles:**

- **[Excel Formulas to Calculate the Work Hours between Dates and Times!!](https://geekexcel.com/excel-formulas-calculate-work-hours-between-dates-times/)**
- **[Excel Formulas to Apply Conditional Formatting based on Another Cell!!](https://geekexcel.com/excel-formulas-to-apply-conditional-formatting-based-on-another-cell/)**
- **[Formulas to Apply Conditional Formatting based on Another Column!](https://geekexcel.com/excel-formulas-to-apply-conditional-formatting-based-on-another-column/)**
- **[Formulas to Highlight Bottom Values with Conditional Formatting!!](https://geekexcel.com/excel-formulas-to-highlight-bottom-values-with-conditional-formatting/)**
- **[How to do Conditional Formatting using VBA in Microsoft Excel?](https://geekexcel.com/how-to-do-conditional-formatting-using-vba-in-microsoft-excel/)**