Excel offers some cool features to work with numbers. One of these is to find the nth largest value with criteria. Say, you have some numbers. With the help of Excel you can find the 2nd or 3rd largest number among them that satisfies a criteria. You can do it using the IF and LARGE functions. In this tutorial, we will learn how to find the nth largest value with criteria.

*Figure 1. Example of How to Find the nth Largest Value with Criteria*

**Generic Formula**

**=LARGE(IF(range=criteria,values),n)**

The main purpose of this formula is to find out the nth largest value. It is the value among the database which meets a specified criteria.

**Process**

This formula uses the functions LARGE and IF. Firstly, You need to provide the range and an integer in place of the nth value. This will fetch the nth value from the range. In order to satisfy the criteria, you need to apply the IF formula. Otherwise the LARGE function will be applied for every data and it will not meet the criteria. Hence, the use of the IF function providing a logical test to fulfil the criteria.

**Setting Up Data**

The following example contains a student information database. Column A, B and C has the name of the students, gender and age.

* Figure 2 .The Sample Data*

To find the second oldest student, we need to:

- Go to cell
**G4.** - Assign the formula

to G4.**=LARGE(IF(B2:B8="F",C2:C8),E4)** - Press
**CTRL + SHIFT + ENTER**to apply the formula to G4.

*Figure 3. Applying the Formula to the Data*

Here, the criteria is the student needs to be female. Cell G4 has the age of the 2nd oldest female student named **Flora Daisy**, which is **13**.

Excel has made working with numbers very simple. For example, we can find the nth largest value that satisfies a condition. The IF and LARGE functions help us to achieve this which we learnt in this lesson.

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

## Leave a Comment

1

Comment awaiting moderation