Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Changing: Last, First to First Last name

Can this be done?

Doe, John to John Doe
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Changing: Last, First to First Last name

Hi,

With your names in a1 put this in b1 and drag down as reqired
=MID(A1,FIND(" ",A1)+1,999)&" "&LEFT(A1,FIND(" ",A1)-1)

If the comma is genuine and not a typo you can remove it with this mod
=MID(A1,FIND(" ",A1)+1,999)&" "&LEFT(A1,FIND(" ",A1)-2)

Mike
"Charlie7805" wrote:

Can this be done?

Doe, John to John Doe

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Changing: Last, First to First Last name

One way:

=TRIM(MID(A1,FIND(",",A1)+1,255) & " " & LEFT(A1,FIND(",",A1)-1))



In article ,
Charlie7805 wrote:

Can this be done?

Doe, John to John Doe

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Changing: Last, First to First Last name

The comma is genuine - it's an as400 export. Works great and thanks.

"Mike H" wrote:

Hi,

With your names in a1 put this in b1 and drag down as reqired
=MID(A1,FIND(" ",A1)+1,999)&" "&LEFT(A1,FIND(" ",A1)-1)

If the comma is genuine and not a typo you can remove it with this mod
=MID(A1,FIND(" ",A1)+1,999)&" "&LEFT(A1,FIND(" ",A1)-2)

Mike
"Charlie7805" wrote:

Can this be done?

Doe, John to John Doe

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing footers on all worksheets without changing print set up KC Excel Discussion (Misc queries) 1 October 26th 07 03:31 PM
changing a cell to changing the link Jared Excel Worksheet Functions 7 May 8th 06 08:41 AM
NOW() keeps changing sigfreund Excel Discussion (Misc queries) 2 March 4th 06 01:46 AM
changing value superkopite Excel Discussion (Misc queries) 4 December 8th 05 10:40 PM
Changing format of number without changing the value sweetsue516 Excel Discussion (Misc queries) 2 August 22nd 05 04:07 PM


All times are GMT +1. The time now is 05:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"