I have a spreadsheet with a column with a list of text strings in it:
A1:A6 = {"apples", "pears", "oranges", "oranges", "pears", "apples"}
I want to get the index (row number) of the last matching item for my search string. So if I search for "apples" I want to get 6, and if I search for "oranges" I want to get 4.
I've tried MATCH with search types of 1, 0 and -1, none of which work (I think because the data is not sorted?).