» Extracting last Word
CATEGORY - Excel Formula and Function
VERSION - All Microsoft Excel Versions
Problem:Creating a formula to retrieve the last word from a string
Solution:
Using the MID, FIND, SUBSTITUTE and LEN text category functions, as follows:
=MID(A2,FIND(""$"",SUBSTITUTE(A2,"" "",""$"",LEN(A2)-LEN(SUBSTITUTE(A2,"" "",""""))))+1,255)
Example:
String________________Last Word
Microsoft Excel_______Excel
abc defgh ijk_________ijk
last word only________only

Book Store:
No comments have been submitted.

