English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i have an excel worksheet with 56000 name in each line; each cell format like Harris, Bob; what is the quickest way to swap first name and last name so it look like Bob Harris in the cell;

2007-04-19 10:09:27 · 3 answers · asked by Anonymous in Computers & Internet Software

3 answers

If "Harris, Bob" is in cell A1, then paste the following formula's

In B1;
=FIND(",",A1,1)

In C1;
=MID(A1,B1+2,LEN(A1)-B1-1)&" "&LEFT(A1,B1-1)

Highlight the range B1:C56000 and press +D to copy down.

2007-04-19 10:20:55 · answer #1 · answered by vinnie33 2 · 1 0

That's a tricky one.

I would probably save it as a text file. Then I'd "import" it back into excel as a "comma delimited" text file, and the two names would then be in different fields. From there, you could sort it by first name.

Not sure how to otherwise do it without retyping everything.

2007-04-19 10:19:13 · answer #2 · answered by abfabmom1 7 · 0 0

Sorry, none that I know of.

2007-04-19 10:17:21 · answer #3 · answered by Ancient Mariner 3 · 0 0

fedest.com, questions and answers