ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Find last match in vllokup (https://www.excelbanter.com/excel-discussion-misc-queries/24848-find-last-match-vllokup.html)

snax500

Find last match in vllokup
 
In Excel2000, I have the following data:


Tom 100
Pete 200
Joe 300
Tom 500


I want to have a Vlookup that finds "Tom' and gives me 500 NOT 100. I
know vlookups usually finds the first instance of a match but I want
the last ( there could be 5 or 4 or 3 records of Tom). Can this be
done?


Thanks


JE McGimpsey

One way:


Take a look at the answer to your previous, nearly identical question...

Use CountIf() to determine the number of the instance to return.

In article .com,
"snax500" wrote:

In Excel2000, I have the following data:


Tom 100
Pete 200
Joe 300
Tom 500


I want to have a Vlookup that finds "Tom' and gives me 500 NOT 100. I
know vlookups usually finds the first instance of a match but I want
the last ( there could be 5 or 4 or 3 records of Tom). Can this be
done?


Thanks



All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com