ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I switch names around in excel? (https://www.excelbanter.com/excel-worksheet-functions/21202-how-do-i-switch-names-around-excel.html)

Erin

How do I switch names around in excel?
 
Example it says Doe,John and I want it to say John Doe

ww

If Doe,John is in Column A insert a new Column B and enter
=RIGHT(A1,FIND(",",A1,1))&" " &LEFT(A1,FIND(",",A1)-1)
The just Copy the Entire Column B and Edit | Paste Special | Values
over Column A.

"Erin" wrote:

Example it says Doe,John and I want it to say John Doe


ww

Nevermind. It worked for Doe, John but doesn't work for a different name I
tried.
It's probably not the easiest way but you could use Data | text to column |
Delimited | comma to put it into Columns A and B then use = B1&" "&A1 and
copy it down.

"ww" wrote:

If Doe,John is in Column A insert a new Column B and enter
=RIGHT(A1,FIND(",",A1,1))&" " &LEFT(A1,FIND(",",A1)-1)
The just Copy the Entire Column B and Edit | Paste Special | Values
over Column A.

"Erin" wrote:

Example it says Doe,John and I want it to say John Doe



All times are GMT +1. The time now is 03:12 PM.

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