This free Excel macro filters data to display results that end with certain words, text, or characters. This is a very easy to use and helpful macro in Excel which allows you to quickly and easily display subsets of data in Excel.
It is important to note that in order to properly use this macro you must replace the "Enter Criteria Here" with the text or characters which you want to filter the data by. However, make sure that you do not remove the "*" from the beginning of that text because that is what makes this macro work.
All of the elements below often appear within autofilter macros.
Range
Field
Criteria
Operator
Sub AutoFilter_Ends_With()
'Put the * mark before the word in which you would like to filter for this macro
Range("A1").AutoFilter Field:=1, Criteria1:="*Enter Criteria Here"
End Sub