find last match in column using built in functions in excel vba -
I have Excel workbook with many examples of the same client id, so display more than once in a customer list I want to find the last (closest) example of the client ID, so I can see the same line for additional information. The first example shows VLOOKUP, I need the last one.
So, how did I create the last example of a given client id in the function? I do not want to write a macro to do this.
Assume that you want to find the last example of the ID If you want to return the last intention of the id If you use "id_1" Values related to the range
B2: B8 , then use:
= Lookup (2, and 2) in the category
A2: A8 1 / (A2: A8 = "ID_1"), B2: B8)
A2: A8 in category, use:
= MATCH (2,1 With / (A2: A8 = "ID_1")) + + ENTER )
= LOOKUP (2,1 / (A2: A8 = "Id_1"), the line number "), line (A2: A8))
Comments
Post a Comment