Transpose data in cell

Zenwood

Board Regular
Joined
Sep 2, 2017
Messages
67
I have a list of names in column "N" that look like "LastName, FirstName". How to I switch the data in the cell so it looks like "FitstName LastName"?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
If you want an easy way,

use a helper column with the following formula (assuming your data starts in row 1)

this one inserts a Comma, if you wish just remove the comma and keep the space
=RIGHT(N1,FIND(",",N1,1)-2)&", "&LEFT(N1,FIND(",",N1,1)-1)

Then copy and paste the values back into column N or do as you please, maybe keep the helper column.

HTH Coops
 
Last edited:
Upvote 0
Hi,

Here's another way:


Book1
AB
1LastName, FirstNameFirstName LastName
Sheet404
Cell Formulas
RangeFormula
B1=MID(A1&" "&A1,FIND(",",A1)+2,LEN(A1)-1)
 
Upvote 0
If this is a one time thing, or even just a periodic thing that doesn't require a dynamic formula, you can use Flash Fill. Just type in the name as you want it to appear in the cell to the right of the original cell. Then with the selection in the same column just press Control+E, and it will figure out the rest of the column.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top