Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default macro to convert text string

Assume Williamson, Josh is in A1

in B1
=Left(A1,Find(" ",A1)-1)

in C1
= right(A1,Len(A1)-(len(B1)+2))

--
Regards,
Tom Ogilvy


"Josh" wrote in message
om...
My macro skills are a bit rusty, so I need some help on this one. An
example of the problem at hand: I would like to be able to convert a
text string in one cell([williamson, josh] or [josh williamson]) to
two different cells (williamson in cell 1 and josh in cell 2.

Thanks for the help



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
cannot convert text string into value Andy Excel Worksheet Functions 16 September 5th 08 04:52 AM
Convert numbers to text string GARY Excel Discussion (Misc queries) 3 May 22nd 08 05:05 AM
How do I convert a text string into a date? JJMCDD02 Excel Worksheet Functions 4 November 25th 05 12:35 PM
How to COnvert text string to number timtak Excel Discussion (Misc queries) 3 June 4th 05 04:57 AM
Convert Text String to Cells John Ford Excel Programming 3 July 25th 03 06:48 PM


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