+ Reply to Thread
Results 1 to 4 of 4

Coordinate Conversion

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

    Coordinate Conversion

    I have attached a speadsheet showing what i need to convert. From Deg MM.ddd to Deg.dddd

    Thank you for any help
    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
    2010, 2019
    Posts
    40,689

    Re: Coordinate Conversion

    Try =-1 ^ OR(RIGHT(B2)={"S","W"}) * LEFT(B2, FIND("°", B2)-1) + MID(B2, FIND("°", B2) + 1, FIND("'", B2) - FIND("°", B2) - 1)/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

    Smile Re: Coordinate Conversion

    Quote Originally Posted by shg View Post
    Try =-1 ^ OR(RIGHT(B2)={"S","W"}) * LEFT(B2, FIND("°", B2)-1) + MID(B2, FIND("°", B2) + 1, FIND("'", B2) - FIND("°", B2) - 1)/60
    Worked great! thank you

    I just took out the '-' for the longitude.

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

    Re: Coordinate Conversion

    Oops, wrong formula:

    =-1 ^ OR(RIGHT(B2)={"S","W"}) * (LEFT(B2, FIND("°",B2)-1) + MID(B2, FIND("°",B2)+1, FIND("'",B2) - FIND("°", B2) - 1)/60)

    You don't need to change anything for longitude.

+ 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