+ Reply to Thread
Results 1 to 8 of 8

Text to columns, pick text from a string in cell

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Text to columns, pick text from a string in cell

    Hello forum,
    Text to Columns does not work for this text string, it is picked up from GPS data and the text strings differ.
    Is there a way to use find text in string and pick out the correct data and ignore the rest!?

    I attached an sample file how it looks like and the wanted result

    I hope you experts here have an solution to this problem.

    Happy New Year

    Regards
    Attached Files Attached Files
    Last edited by soli004; 12-30-2016 at 03:48 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Text to columns, pick text from a string in cell

    Possibly like this, copied down:

    E21 =MID($E2,FIND("Longitude",$E2)+11,9)
    F21 =MID($E2,FIND("Latitude",$E2)+10,9)
    G21 =MID($E2,FIND("Altitude",$E2)+10,13)
    H21 =IFERROR(MID($E2,FIND("Speed",$E2)+10,13),"")
    Last edited by AliGW; 12-30-2016 at 10:22 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Text to columns, pick text from a string in cell

    Longitude and Latitude works perfect, but wench dealing with altitude and speed it varies (not always 13 letters), for example if you have an altitude of 105.300 meters or a speed of 101.5 km/hour it fails.....

    Thanks

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Text to columns, pick text from a string in cell

    And are you not able to tweak very slightly what I have given you to make it work?

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Text to columns, pick text from a string in cell

    Locked out of the Forum ... AGAIN.

    See the modified formulae for the two problematic columns, in the attached sheet. I can't post the formula here cos of daft security restrictions on the forum.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Text to columns, pick text from a string in cell

    Excellent! All works perfectly many thanks

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Text to columns, pick text from a string in cell

    You're welcome and thanks for the Rep...

  8. #8
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Text to columns, pick text from a string in cell

    Another way

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pick out text from middle of a string
    By aaron.phelan12345 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-06-2015, 01:00 PM
  2. [SOLVED] Search for a text string and return given text string to adjacent cell
    By hecgroups in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2015, 04:50 AM
  3. Replies: 2
    Last Post: 04-09-2014, 11:48 AM
  4. [SOLVED] formula to pick out text in middle of string and return
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-24-2014, 05:32 PM
  5. [SOLVED] Function to pick out % from text string
    By kenadams378 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-05-2013, 06:36 AM
  6. [SOLVED] Find partial text string within another text string return original text into cell.
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-17-2013, 02:58 PM

Tags for this Thread

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