Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 447
Default Switch First and Last Names

What is the excel formula to change John Brown to Brown, John? Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Switch First and Last Names

Karen,

Try this

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

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Karen" wrote:

What is the excel formula to change John Brown to Brown, John? Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Switch First and Last Names

Hi,
try

=TRIM(RIGHT(A1,FIND(" ",A1)-1))&" "&TRIM(LEFT(A1,FIND(" ",A1)-1))

"Karen" wrote:

What is the excel formula to change John Brown to Brown, John? Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Switch First and Last Names

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


"Karen" wrote:

What is the excel formula to change John Brown to Brown, John? Thanks!

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
Switch names kathy at the front desk Excel Worksheet Functions 7 November 24th 09 08:46 PM
using the Excel generic worksheet names instead of user-given names in code Paul Excel Discussion (Misc queries) 5 June 26th 09 08:44 PM
Sorting and matching rows of names with Socials with master list and eliminating the extra names Giacomo Excel Worksheet Functions 1 March 10th 07 01:52 AM
How do I switch the names in a column in Excel Help Me - I need to switch these names Excel Worksheet Functions 2 January 20th 06 07:20 PM
How do I switch names around in excel? Erin Excel Worksheet Functions 2 April 8th 05 05:09 PM


All times are GMT +1. The time now is 05:12 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"