Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default isolate date from a text string into another cell

Hi,

I have a column with a text string in each cell like this:

Smith, John (DOB: Sep 10/45)
Strawberry, Kathy (DOB: Jan 01/72)
Cadbury, Nolan (DOB: Feb 21/54)

I would like to remove the date only ie. Sep 10/45 from the text string and
put into another cell. As you can see the names in each subsequent cell vary
in length. What formula can I use to do this?

Thanks so much..
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default isolate date from a text string into another cell

Will it always be the way you've listed?

=MID(A2,FIND(":",A2)+2,FIND(")",A2)-FIND(":",A2)-2)

"Tacrier" wrote:

Hi,

I have a column with a text string in each cell like this:

Smith, John (DOB: Sep 10/45)
Strawberry, Kathy (DOB: Jan 01/72)
Cadbury, Nolan (DOB: Feb 21/54)

I would like to remove the date only ie. Sep 10/45 from the text string and
put into another cell. As you can see the names in each subsequent cell vary
in length. What formula can I use to do this?

Thanks so much..

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default isolate date from a text string into another cell

Awesome, it worked!! Thank you, Sean Timmons :D

"Sean Timmons" wrote:

Will it always be the way you've listed?

=MID(A2,FIND(":",A2)+2,FIND(")",A2)-FIND(":",A2)-2)

"Tacrier" wrote:

Hi,

I have a column with a text string in each cell like this:

Smith, John (DOB: Sep 10/45)
Strawberry, Kathy (DOB: Jan 01/72)
Cadbury, Nolan (DOB: Feb 21/54)

I would like to remove the date only ie. Sep 10/45 from the text string and
put into another cell. As you can see the names in each subsequent cell vary
in length. What formula can I use to do this?

Thanks so much..

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default isolate date from a text string into another cell

Sometimes I get lucky. :-)

"Tacrier" wrote:

Awesome, it worked!! Thank you, Sean Timmons :D

"Sean Timmons" wrote:

Will it always be the way you've listed?

=MID(A2,FIND(":",A2)+2,FIND(")",A2)-FIND(":",A2)-2)

"Tacrier" wrote:

Hi,

I have a column with a text string in each cell like this:

Smith, John (DOB: Sep 10/45)
Strawberry, Kathy (DOB: Jan 01/72)
Cadbury, Nolan (DOB: Feb 21/54)

I would like to remove the date only ie. Sep 10/45 from the text string and
put into another cell. As you can see the names in each subsequent cell vary
in length. What formula can I use to do this?

Thanks so much..

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default isolate date from a text string into another cell

Use TTC.

Select the data, then from the Menu Bar,

<Data <Text To Columns <Delimited <Next

Click in "Other", and then type in the left quotes (

You'll see your data displayed separated in the Preview Window below.

Click <Finish
And you"ll have your data split into 2 columns.

You can play around with the settings to get different displays.

Post back with any questions.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Tacrier" . wrote in message
...
Hi,

I have a column with a text string in each cell like this:

Smith, John (DOB: Sep 10/45)
Strawberry, Kathy (DOB: Jan 01/72)
Cadbury, Nolan (DOB: Feb 21/54)

I would like to remove the date only ie. Sep 10/45 from the text string
and
put into another cell. As you can see the names in each subsequent cell
vary
in length. What formula can I use to do this?

Thanks so much..





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default isolate date from a text string into another cell

If dates are always nine characters long then use this:

=MID(A2,FIND(":",A2)+2,9)


"Tacrier" wrote:

Hi,

I have a column with a text string in each cell like this:

Smith, John (DOB: Sep 10/45)
Strawberry, Kathy (DOB: Jan 01/72)
Cadbury, Nolan (DOB: Feb 21/54)

I would like to remove the date only ie. Sep 10/45 from the text string and
put into another cell. As you can see the names in each subsequent cell vary
in length. What formula can I use to do this?

Thanks so much..

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
copying a date into a text string Looking for help Excel Worksheet Functions 3 September 6th 08 02:57 PM
Date in Text String AMH Excel Worksheet Functions 1 June 30th 08 03:39 PM
How do I grab the date from a text string? [email protected] Excel Worksheet Functions 4 June 6th 06 07:55 AM
How do I convert a text string into a date? JJMCDD02 Excel Worksheet Functions 4 November 25th 05 12:35 PM
Isolate text following a period (".") tommcbrny Excel Worksheet Functions 2 November 9th 04 03:54 PM


All times are GMT +1. The time now is 08:39 PM.

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"