LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Parse data from string

I did finally figure that out too after playing with the function.
Thanks again,
Rob


Ron Rosenfeld wrote:
On Sun, 21 Jan 2007 14:54:48 -0500, Ron Rosenfeld
wrote:

On 21 Jan 2007 11:34:10 -0800, "okrob" wrote:

Thanks Ron...
This worked great! Looks like I added a whole host of functions with
this addin...
Best part about it is that it's distributable.
Rob


You're welcome. Thanks for the feedback.

Yes there are a number of useful functions. And they can also be used from
within VBA.

About the only downside I've found is that inputs are limited to 255
characters.
--ron


I noted in a previous posting that you wanted to get rid of the initial space
if there was not middle initial.

You could modify the function I posted as follows:

=REGEX.SUBSTITUTE(A1,"\s*(\w+)\s+(\w+).*",
"=if(len(""[1]"")=2,"" [2], [1]"",""[2], [1]"")" )


--ron


 
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
Parse this string David Excel Discussion (Misc queries) 2 February 20th 07 04:57 AM
Parse data where break is a first uppercase character in a string? Glen Excel Worksheet Functions 5 April 16th 06 07:28 PM
Parse string loopoo[_29_] Excel Programming 2 April 3rd 06 10:14 AM
Parse String Geoff Murley Excel Programming 9 February 3rd 05 02:02 AM
Wish to parse through a text string to find data Neil Bhandar[_2_] Excel Programming 2 October 24th 03 07:04 PM


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