+ Reply to Thread
Results 1 to 3 of 3

Thread: extract part of string (advanced)

  1. #1
    Registered User
    Join Date
    11-29-2011
    Location
    sweden
    MS-Off Ver
    Excel 97
    Posts
    1

    extract part of string (advanced)

    Posted: Mon Nov 28, 2011 9:41 pm Post subject: extract part of string
    I have a column were each cell has a combination of char and numbers in its string. Each cell has different char and numbers except that they all have a longitude and latitude follow their respective number, and thats what i want to extract to another empty column.

    example:

    Column A
    row 1 1863, charlston, #360 latitude: 53.567964385 longitude: 11.021423488

    row 2 1902, kings, #121, 33FG, cornwell 22DR latitude: 52.567964227 longitude: 11.998623411


    What i need is the number for latitude extracted to one column and the number for longitude to another column...

    Anyone got a statement for that?

  2. #2
    Forum Guru sweep's Avatar
    Join Date
    04-03-2007
    Location
    Location: Location:
    MS-Off Ver
    3.0
    Posts
    2,472

    Re: extract part of string (advanced)

    Hi,

    Try these:


    =MID(A1,9+FIND("latitude:",A1),LEN(A1)-FIND("longitude:",A1)-9)

    =RIGHT(A1,LEN(A1)-FIND("longitude:",A1)-10)
    Please disregard anything in the above post. It may well have been edited without my consent, as has been the case with several posts and threads recently.

  3. #3
    Forum Guru snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,151

    Re: extract part of string (advanced)

    Menu Bar/Data/texttocolumns/delimiter :



+ 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.2.0