Today, I encountered a situation where I had to separate the full names of our customers into the first and last names. The names are comma separated, so I was looking for an Excel formula that can help me extract the last name before the comma and the first name after the comma.
For example, you have the following text in a cell “A1″ and you’d like to extract the text before the comma (the last name):
To extract the last name before the comma “Doe” from A1, use one of the following formula:
The result: Doe
To extract the first name after the comma from A1, use one of the following formula:
The result: John
Not working for you?
Remember to replace A1 with the cell that contains the string of words you want to parse out.