This Excel macro filters a selection of data in order to display only the bottom 10 items in the list or data set. This uses the autofilter method in Excel.
In order to use this macro, simply make sure that the cell reference for the range is the start of the table, list, or data set which you would like to filter. This is a very easy to use filter macro in Excel and can help stream-line your data processing needs in Excel.
All of the elements below often appear within autofilter macros.
Range
Field
Criteria
Operator
Sub AutoFilter_Bottom_10_Items()
Range("A1").AutoFilter Field:=1, Criteria1:="10", Operator:=xlBottom10Items
End Sub