#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Invert Cell contents

I have a cell with the name Doe Jane.
Is there a way I can invert the information in the cell to read 'Jane Doe'?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Invert Cell contents

Something like this:

=MID(A2,FIND(" ",A2)+1,255)&" "&LEFT(A2,FIND(" ",A2)-1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Mike F" wrote:

I have a cell with the name Doe Jane.
Is there a way I can invert the information in the cell to read 'Jane Doe'?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Invert Cell contents

Try
=MID(A1,FIND(" ",A1),99)& " " & LEFT(A1,FIND(" ",A1))

If this post helps click Yes
---------------
Jacob Skaria


"Mike F" wrote:

I have a cell with the name Doe Jane.
Is there a way I can invert the information in the cell to read 'Jane Doe'?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Invert Cell contents

Hi Mike,

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

Will work for simple names per your example. Goes nuts with names like Du
Pont James or St James Susan.

(Change the 10 to a larger number if first name exceeds 10 characters)

HTH
Regards,
Howard

"Mike F" wrote in message
...
I have a cell with the name Doe Jane.
Is there a way I can invert the information in the cell to read 'Jane
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
concatenate contents of cells whose contents resemble cell referem cathyh Excel Worksheet Functions 3 May 23rd 09 12:16 PM
how do I invert all of my cell entries ? Kimmie23 Excel Worksheet Functions 4 April 5th 08 05:31 PM
How can I invert a column's contents Todd Excel Worksheet Functions 2 April 27th 06 05:47 PM
Macro to remove contents of cell and move all other contents up one row adw223 Excel Discussion (Misc queries) 1 July 1st 05 03:57 PM
Cell contents vs. Formula contents Sarah Excel Discussion (Misc queries) 3 December 15th 04 06:02 PM


All times are GMT +1. The time now is 10:38 AM.

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"