+ Reply to Thread
Results 1 to 4 of 4

Need help converting Coordinates

  1. #1
    Registered User
    Join Date
    08-09-2010
    Location
    kelowna, canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Need help converting Coordinates

    I need help converting a large amount of coordinates form Degree Minute Decimal to Degree Decimal. For example i need 55 34.6100 x -114 41.8310 converted to 55.576833 x -114.697183. I know the math is to divide the minute.decimal by 60 and add the degree but can figure out how to get the formula to work. I attached a spreadsheet of what i am dealing with.

    I appreciate any and all help.
    Thanx
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need help converting Coordinates

    In E3,

    =LEFT(B3, FIND(" ", B3)) + SIGN(LEFT(B3, FIND(" ", B3))) * MID(B3, FIND(" ", B3), 16)/60
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-09-2010
    Location
    kelowna, canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Need help converting Coordinates

    Quote Originally Posted by shg View Post
    In E3,

    =LEFT(B3, FIND(" ", B3)) + SIGN(LEFT(B3, FIND(" ", B3))) * MID(B3, FIND(" ", B3), 16)/60
    worked great! thank you!

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need help converting Coordinates

    Hi stewman,

    Try this:

    Please Login or Register  to view this content.
    Directions for running the routine(s) just supplied

    Copy the code to the clipboard

    Open your Workbook

    Press ALT + F11 to open the Visual Basic Editor.

    Select "Module" from the Insert menu

    Type "Option Explicit" then paste the code under it

    With the cursor between Sub and End Sub press F5 (F8 to Single Step)

    OR

    Press ALT + Q to close the code window.

    Press ALT + F8 then double click on the macro name
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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