יום ראשון, 18 בדצמבר 2022

Three methods to find the n-largest/n-smallest number in one formula

 

3 methods to find the n-largest/n-smallest number in one formula

 

Suppose you want to find the n-th largest or n-smallest number in a list:

1st largest, 2nd largest or the 5th smallest etc.

How can this be achieved with only one formula?
Answer: with parameters.
Parameter No.1:
n (desired “location”) in cell D1

Parameter No.2: Largest (“T”) or Smallest (“B”) in cell F1

Here are three methods that apply this concept:


                             Method 1: LARGE & SMALL


                                      Method 2: LARGE only

 

                                 Method 3: AGGREGATE

 

 



אין תגובות:

הוסף רשומת תגובה