Skip to content

Instantly share code, notes, and snippets.

@stucka
Last active November 4, 2015 21:29
Show Gist options
  • Save stucka/2d54b106a144fc528453 to your computer and use it in GitHub Desktop.
Save stucka/2d54b106a144fc528453 to your computer and use it in GitHub Desktop.
Excel -- convert DMS / decimal minutes seconds to mapable decimal latitude and longitude / latlong pairs
=TEXT((VALUE(LEFT(F2,2)+VALUE(MID(F2,3,2))/60)+VALUE(MID(F2,5,2)/3600))*IF(RIGHT(F2,1)="S",-1,1), "0.000000")& ", " & TEXT((VALUE(MID(G2,2,2)+VALUE(MID(G2,4,2))/60)+VALUE(MID(G2,6,2)/3600))*IF(RIGHT(G2,1)="W",-1,1), "0.000000")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment