Capture part of a text string

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I have a column with entries like:

(NAV as of July 8, 2004,Price as of July 13, 2004)

I want to isolate just the:

July 8, 2004

How do I do this?
 
Hi
what do the entries have in common?.
- do they always start with 'NAV as of...'
- is there a fixed position fopr the date

You may provide some more data examples :-)
 
Hi Dave!

I think that the following will work OK:

=LEFT(MID(A1,12,255),FIND(",",MID(A1,12,255),12)-1)

I've tested on precisely the string given for months of May and
November.

If the string varies, it becomes more complicated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top