LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Red Lamps
 
Posts: n/a
Default

You have no idea how much I appreciate you! What a time saver!

Thank you so much!

"Sloth" wrote:

you can use

=REPLACE(A1,1,FIND(" ",A1),"")&", "&LEFT(A1,FIND(" ",A1)-1)

only if each cell contains exactly two names seperated by a space. An
explanation may be in order as to what this formula does. FIND returns a
number from the beginning to the " " (using Jane Doe you get 5). REPLACE
replaces chars 1-FIND with nothing (outputing only the last name). The & is
how you add strings together (I inserted ", " to get the output you wanted).
LEFT returns the text from 1-FIND (using Jane Doe you get Jane). If you
don't use -1 in the LEFT function you would get a space at the end ("Doe,
Jane " as apposed to "Doe, Jane").

"Red Lamps" wrote:

Is there a formula that manipulates data from "Jane Doe" to "Doe, Jane"?

 
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 import formmail data to a custom excel template? cxlough41 Excel Worksheet Functions 1 July 1st 05 12:59 AM
Data Source Name Not Found Justin Tyme Excel Worksheet Functions 0 June 16th 05 11:45 PM
Macro to search for and display data in another worksheet Mark H Excel Worksheet Functions 0 June 14th 05 12:40 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM
Data Table - does it work with DDE links and Stock Tickers? Post Tenebras Lux Excel Worksheet Functions 0 December 1st 04 05:17 PM


All times are GMT +1. The time now is 08:16 AM.

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

About Us

"It's about Microsoft Excel"