After my Advanced Excel workshop in Singapore, one of the participants, Lai Thim had a unique problem in Excel. Her boss was always asking her to show the Top 3 products, Bottom 3 countries, or Who came in the second or Third spot in the competition. She found it quite challenging to do this in Excel, and had to resort to sorting the data, manually going to pick the top 3 or bottom 2, and then copy and paste the values in the report.
And this manual process had to be done each week, and each month, several times. So this was a big time waster. And she is not the only one… most Excel users are not aware of the simple functions that already exist in Excel, which can do the job in just a click.
So she asked me if there is a way to find the second largest value, or the third largest value given in a data set in Excel.
Finding the Largest Value or the Smallest Value in Excel is Easy
You can easily find the highest value in any Excel data using the MAX Function, and similarly, find the smallest or minimum value by using the MIN function in Excel.
But try to find the Second highest value, or the Third Lowest in Excel, and these two MAX & MIN functions can not deliver this simple thing. They were meant for only the highest and the lowest values. This is extremely easy. Just use the Max() function. It will give you the highest value. Similarly, use the Min() function to get the smallest value.
However, to get the second largest value using this same formula, you can’t use Min() or Max() functions of Excel.
Using LARGE Function in Excel To Find Any Rank in Excel (including Second Highest)
Microsoft Excel has a hidden function, often unknown singe the late nineties, which can do the job perfectly. It is called LARGE.
Let’s say you have values from cell A1 to A5.
To get the Second Largest value, you could write the following formula in Excel:
This will give you the second largest value, without any fuss.
The format of the LARGE Function is =LARGE(array, k), and it picks up the Kth largest value from the array.
So to find the fifth largest country in terms of sales, you need to write the following in your Excel formula cell.
What if you want to find the second smallest values? Well, we have a formula for that too.
Using SMALL Function To Find the Second Smallest Values in Excel
Just like Large, SMALL function will pick up the Second Smallest value from a range of cells. So you can use it for finding the Second Smallest, Third Smallest etc.
=SMALL(A1:A5, 3) would give you the third lowest value in the range of these 5 cells in Excel.
To find the second lowest values in terms of Sales, you can write
With this, you can find any lowest or highest, smallest or largest values in Excel easily.
You can use SMALL & LARGE to pick the smallest, second smallest, largest, second largest etc. to your choice. They are pretty easy to use, and are already available in your version of Excel.
So if you use Excel 2007, or Excel 2010, Excel 2013, Excel 2016, Excel 2019 or even Microsoft Office 365, you can immediately use SMALL & LARGE Functions in Excel.
That’s it. Give it a try. This is a quick and dirty way to find such small or large values. These are not new functions… Have been there in Excel since 1995… 🙂
- How To Count Cells With a Certain Value in Excel
- Learn the Multiple Ways to Count in Excel
- Simple Functions in Excel [Video]
Connect With Me on LinkedIn: https://www.linkedin.com/in/vinaiprakash/
Vinai loves to share new and funky ways to find information from our data, using everyday Excel techniques.
Vinai also conducts in-house and public runs of his famous Advanced Excel Techniques, and Excel Dash-boarding Techniques in Singapore, Malaysia, Indonesia, Dubai, Hong Kong, and many other countries around the globe. Connect with Vinai at Vinai@ExcelChamp.net.
Are you facing any problem in using Excel? Any Question?
You have come to the right place. Tell us your needs. We’ll be glad to help you!