Hi Team,
I have a data in column B that is sorted in order e.g. Apple, Apple, Apple, Orange, Orange, Orange, Mango, Mango Mango...
I need a VBA code where the [B]last[B] duplicate is highlighted.
I was trying to find a simple formula to for example put a '1' in column A next to the last duplicate in column B but i couldn't find a formula, so I resulted in trying to do a VBA code instead..
Bookmarks