small and large

Dryver14

Well-known Member
Joined
Mar 22, 2010
Messages
2,396
If anyone has a little time and is feeliing generous,

I often see small and large in formulas, I have looked them up in FX and see they return the "k" value.

What are the benefits of this?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Some of the benefits are just wanting to know what the 1st, 2nd and 3rd largest values in a data set are. It can also be nice for conditional formatting before they had the feature of Top N or Bottom N because you could use conditional formatting to color any number >= say the top 3 by using the large function. It can also be really useful in summing the top N records or bottom N records like so:

=SUM(LARGE(A1:A100,{1,2,3}))

=SUM(SMALL(A1:A100,{1,2,3}))

Entered as an array formula with control+shift+enter, this will sum the top 3 values and the bottom 3 values. You can also make it a little more dynamic by using rows function:


=SUM(LARGE(A1:A100,row(1:3)))

Hope that gives a little more insight into what they are used for.
 
Upvote 0

Forum statistics

Threads
1,196,515
Messages
6,015,660
Members
441,913
Latest member
Lhayden_69

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top