+ Reply to Thread
Results 1 to 3 of 3

Trying to extract "Text" inbetween ":" and ","

  1. #1
    Registered User
    Join Date
    05-06-2013
    Location
    Houston, texas
    MS-Off Ver
    Excel 2007
    Posts
    1

    Trying to extract "Text" inbetween ":" and ","

    My data will always look like this. I need to extract the address.

    Example:
    Home Address: 1900 TRANSIENT, PICO RIVERA , CA 00000
    What I need is: 1900 TRANSIENT

    Here is another example:
    Home Address: 15521 EUCALYPTUS AV, BELLFLOWER , CA 00000
    What I need is: 15521 EUCALYPTUS AV

    Here is another example:
    Home Address: 1210 N LA BREA, WEST HOLLYWOOD , CA 00000
    What I need is: 1210 N LA BREA

    Any help would be great.
    Thanks
    Paul

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,640

    Re: Trying to extract "Text" inbetween ":" and ","

    You could use Data text to Column - Delimited
    Check "comma" and enter the : in "other"
    Then select to not import the columns you don't need

  3. #3
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Trying to extract "Text" inbetween ":" and ","

    =SUBSTITUTE(LEFT(A1,FIND(",",A1)-1),"Home Address: "," ")

+ 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