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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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,215,459
Messages
6,124,946
Members
449,198
Latest member
MhammadishaqKhan

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