I spent a long time searching for a simple FIND-in-reverse function in Excel and found some formulas, which were way too long for my taste (e.g. How can I perform a reverse string search in Excel without using VBA?).
So I ended up creating my own simpler one, below, which gives you the last word in a string by finding the position of the last space (or the 1st one from right to left).
=RIGHT(A1,FINDrev(” “,A1))
If you run this formula on the sentence above it (put in cell A1), it will give you the result "left)." All you need is to define a 3-row VBA UDF FINDrev() and save it in a permanently available xlam add-in:
Public Function FINDrev(Find_text As String, Within_text As String)
FINDrev = Len(Within_text)-Len(Find_text)-InStrRev(Within_text, Find_text)+1
End Function
Has anyone found a simpler solution for FIND-in-reverse?