ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Last Name, First Name extract (https://www.excelbanter.com/excel-discussion-misc-queries/25871-last-name-first-name-extract.html)

Tony

Last Name, First Name extract
 
Column A has names in it. The format is Last Name, Space First Name. How do I
extract the names so they appear in the same column or another column in this
format.

First Name space Last Name.

Thank You in advance.
Tony

Bob Phillips

If exactly as described

=MID(A1,FIND(", ",A1)+2,99)&" "&LEFT(A1,FIND(", ",A1)-1)

--
HTH

Bob Phillips

"Tony" wrote in message
...
Column A has names in it. The format is Last Name, Space First Name. How

do I
extract the names so they appear in the same column or another column in

this
format.

First Name space Last Name.

Thank You in advance.
Tony




Tony

Thanks Bob,

It worked fine, exactly what I needed.

"Bob Phillips" wrote:

If exactly as described

=MID(A1,FIND(", ",A1)+2,99)&" "&LEFT(A1,FIND(", ",A1)-1)

--
HTH

Bob Phillips

"Tony" wrote in message
...
Column A has names in it. The format is Last Name, Space First Name. How

do I
extract the names so they appear in the same column or another column in

this
format.

First Name space Last Name.

Thank You in advance.
Tony






All times are GMT +1. The time now is 08:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com