Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11   Report Post  
Old January 26th 21, 07:52 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2021
Posts: 1
Default formula to switch last/first name around?

On Wednesday, August 28, 2019 at 9:51:39 AM UTC-4, wrote:
On Wednesday, 30 September 2009 18:17:01 UTC+1, Stilla wrote:
Is there a formula I can copy into say, cell B1, that will change a name in
cell A1 from "Brown, John" to John Brown?

Thanks to all you excel wizards out there!

I'm 10 years late to this thread, but your formula works a treat! thanks


What if you want John Doe to become Doe John with no commas and only space in between?

  #12   Report Post  
Old February 21st 21, 08:02 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2003
Posts: 535
Default formula to switch last/first name around?

Moeka Nakagawa wrote:

On Wednesday, August 28, 2019 at 9:51:39 AM UTC-4,
wrote:
On Wednesday, 30 September 2009 18:17:01 UTC+1, Stilla wrote:
Is there a formula I can copy into say, cell B1, that will change a
name in cell A1 from "Brown, John" to John Brown?

Thanks to all you excel wizards out there!

I'm 10 years late to this thread, but your formula works a treat!
thanks


What if you want John Doe to become Doe John with no commas and only
space in between?


Remove the comma from Claus' formula:

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

--
Help will always be given to those who ask for it.


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
how do i switch the first and last name in a cell? Slac Excel Discussion (Misc queries) 3 June 17th 08 09:00 PM
Can I change currency format using a switch/formula djdacct Excel Discussion (Misc queries) 0 December 5th 06 10:19 AM
switch statement tkaplan Excel Discussion (Misc queries) 1 July 13th 05 08:12 PM
Switch X and Y Axis foodtyper Excel Discussion (Misc queries) 3 June 20th 05 08:50 PM
switch between sheets Pepe Excel Discussion (Misc queries) 1 April 30th 05 08:22 AM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017