+ Reply to Thread
Results 1 to 4 of 4

Pulling specific information out of excel rows

Hybrid View

  1. #1
    Registered User
    Join Date
    02-23-2012
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    7

    Unhappy Pulling specific information out of excel rows

    Howdy

    I have a long list of data in a spreadsheet that is in the following format. It is all contained within one column/cell

    46.104861,-64.702142,"1080 Champlain St, Dieppe, New Brunswick",-,
    44.697439,-63.584861,"121 Ilsley Ave, Dartmouth, Nova Scotia",-,
    45.476162,-76.689467,"104 Raglan St N,, Renfrew, Ontario",-,
    etc

    So its: Latitude, Longitude, "Address, city/state, country"

    I need to create a column for latitude and another for longitude. So one formula that will give me the first number in the string, and another formula that will give me the second number after the first comma. For example, the first string should return:

    A1:46.104861
    B1:-64.702142

    Any help is much appreciated!

  2. #2
    Registered User
    Join Date
    02-23-2012
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Pulling specific information out of excel rows

    I found that:

    =LEFT(E1,FIND(",",E1)-1)

    Yields the first number, but I'm lost on how to get the second

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Pulling specific information out of excel rows

    First up ..try

    Data -- Text to columns -- Delimited by -- comma.

    This will split contents of the cell in differnt columns.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    02-23-2012
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Pulling specific information out of excel rows

    Wow, immediate response and that worked perfectly. And it was simple. Thanks Ace!!

+ 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