Aug 10 2022 07:40 AM
Hi. Im relatively new to excel formulas. Im trying to pull out the 3 largest and 3 smallest numbers in my spreadsheet. How do I do this/
Aug 10 2022 07:57 AM
SolutionYou can use the LARGE and SMALL functions for this.
To return the 3 largest values in the range A1:Z100:
=LARGE(A1:Z100,{1,2,3})
And the three smallest:
=SMALL(A1:Z100,{1,2,3})
Warning: if there are ties, the results might be unexpected.
Aug 10 2022 08:00 AM
Aug 10 2022 08:01 AM
For this purpose there are the SMALL() and LARGE() functions. Together with the SEQUENCE() function, you can output all three values simultaneously or calculate them further.
=SMALL(A1:A20,SEQUENCE(3))
=LARGE(A1:A20,SEQUENCE(3))
I have assumed that the data is available in A1:A20.
Aug 10 2022 08:03 AM
Aug 10 2022 07:57 AM
SolutionYou can use the LARGE and SMALL functions for this.
To return the 3 largest values in the range A1:Z100:
=LARGE(A1:Z100,{1,2,3})
And the three smallest:
=SMALL(A1:Z100,{1,2,3})
Warning: if there are ties, the results might be unexpected.