开发者

Change a name field from LAST FIRST ordered to FIRST LAST ordered

I have an excel spreadsheet with about 700 entries. The names are listed as "DOE JOHN" (no comma separating the names). I need to format them so they read JOHN DOE.

1.) I would like to learn how to do this in excel.

2.) I would like to learn how to do this in linux开发者_如何学运维.

Thanks!


If your LAST FIRST data in A1:A10, for example, paste this worksheet formula into B1. Then copy and paste into B2:B10.

=MID(A1,FIND(" ",A1)+1,LEN(A1))&" "&LEFT(A1,FIND(" ",A1))

If you then want to get rid of the LAST FIRST data, select B1:B10 and choose Edit - Copy. Select A1:A10, select Edit - Paste Special - Values.

Be sure to review B1:B10 before you paste values over your original data to make sure it worked like you expect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜