+ Reply to Thread
Results 1 to 4 of 4

Extracting from a text string

  1. #1
    Forum Contributor
    Join Date
    03-11-2005
    Posts
    115

    Extracting from a text string

    Hello everyone
    Hope someone can help with this question....

    I have a field containing a text string, for exampe: "1 : 1.3".
    I want to be able to extract the 1.3 and show it in a separate column using a function. Is this possible ?

    The characters before the " : " can be any string length, but following the ":" the number I want to extract is always 2 places behind the " : ".
    Does this make sense ?
    Hope it does, and thanks for your help !
    Amy xx

  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Quote Originally Posted by AmyTaylor
    Hello everyone
    Hope someone can help with this question....

    I have a field containing a text string, for exampe: "1 : 1.3".
    I want to be able to extract the 1.3 and show it in a separate column using a function. Is this possible ?

    The characters before the " : " can be any string length, but following the ":" the number I want to extract is always 2 places behind the " : ".
    Does this make sense ?
    Hope it does, and thanks for your help !
    Amy xx
    Assuming your text is entered in Cell A1, your formula is

    =mid(A1,find(":",A1)+1,255)


    Regards.
    BenjieLop
    Houston, TX

  3. #3
    Forum Contributor
    Join Date
    03-11-2005
    Posts
    115

    Thanks

    Hey, thanks for your reply, many thanks - it works perfectly.

    Amy xx

  4. #4
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Thank you for the feedback ... just glad that I can help.

    Regards.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1