How to convert coordinates latitude and longitude with Excel
How to convert coordinates latitude and longitude with Excel
Nowadays, GPS localization is common. Some apps use decimal format (48.85833) while
others return the coordinates in degrees, minutes and seconds (48°51'29.99'').
In this article I will show you how to convert from one format to the other and vice-versa.
https://www.excel-exercise.com/convert-latitude-longitude/ 1/10
01/03/2020 How to convert coordinates latitude and longitude with Excel
(https://www.excel-exercise.com/wp-
content/uploads/2012/04/Latitude_Longitude_1.png)
https://www.excel-exercise.com/convert-latitude-longitude/ 2/10
01/03/2020 How to convert coordinates latitude and longitude with Excel
48:51:29.99
The default cell display could be different depending on the version of Excel that you are
using. It can display the GPS coordinates as either a date or a time.
(https://www.excel-
exercise.com/wp-content/uploads/2012/04/Latitude_Longitude_2a.png)
Unfortunately, Excel doesn't accept a negative time, so you need to wrap it in double quotes
as though it were text. Then put a minus sign before the opening quote.
=-"74:02:40.29"
(https://www.excel-exercise.com/wp-content/uploads/2012/04/Latitude_Longitude_2b.png)
Excel doesn't like negative time. But you can correct this by checking one option in Excel.
(https://www.excel-exercise.com/wp-
content/uploads/2012/04/Latitude_Longitude_GPS_Coordinate_3.png)Go to the menu
File>Options
Select Advanced
At the bottom of the list of options, check the option "Use 1904 date system"
https://www.excel-exercise.com/convert-latitude-longitude/ 4/10
01/03/2020 How to convert coordinates latitude and longitude with Excel
(https://www.excel-
exercise.com/wp-content/uploads/2012/04/Latitude_Longitude_GPS_Coordinate_2b.png)
[hh]°mm'ss.00\''
https://www.excel-exercise.com/convert-latitude-longitude/ 5/10
01/03/2020 How to convert coordinates latitude and longitude with Excel
(https://www.excel-
exercise.com/wp-content/uploads/2012/04/Latitude_Longitude_GPS_Coordinate_4.png)
The hour between square brackets is compulsory to display a value over 23 hours.
(https://www.excel-
exercise.com/wp-content/uploads/2012/04/Latitude_Longitude_GPS_Coordinate_5.png)
https://www.excel-exercise.com/convert-latitude-longitude/ 6/10
01/03/2020 How to convert coordinates latitude and longitude with Excel
=B3*24
Then just change the format of the cell range D3:E7 to General.
= B3/24
(https://www.excel-
exercise.com/wp-content/uploads/2012/04/Latitude_Longitude_GPS_Coordinate_6.png)
# (https://www.excel-exercise.com/convert-latitude-longitude/#comment-90768)
Thank you, I tried many tutorials using VBA but failed... you are such a Genius
# (https://www.excel-exercise.com/convert-latitude-longitude/#comment-90563)
I can not make Excel recognize the custom format ..[hh]°mm'ss.00\ it only lets me pick from a select list of
formats, none of which is right. Is it my version of Excel?
# (https://www.excel-exercise.com/convert-latitude-longitude/#comment-90761)
https://www.excel-exercise.com/convert-latitude-longitude/ 8/10
01/03/2020 How to convert coordinates latitude and longitude with Excel
# (https://www.excel-exercise.com/convert-latitude-longitude/#comment-87689)
Been reading so many VBA scripts on how to do this DMS to DD conversion within excel
And even Microsoft's publication of their own VBA script on how to do this
https://support.microsoft.com/en-ca/help/213449/how-to-convert-degrees-minutes-seconds-angles-to-or-
from-decimal-angle (https://support.microsoft.com/en-ca/help/213449/how-to-convert-degrees-minutes-
seconds-angles-to-or-from-decimal-angle)
Even does the calculation part wrong
Wasted so much time trying to remedy their script, and read other scripts on the internet.
Your solution was implemented in 1 minute, so so simple, and brilliant.
Thank you again so much for posting this.
# (https://www.excel-exercise.com/convert-latitude-longitude/#comment-88038)
Thanks 🙂
https://www.excel-exercise.com/convert-latitude-longitude/ 9/10
01/03/2020 How to convert coordinates latitude and longitude with Excel
# (https://www.excel-exercise.com/convert-latitude-longitude/#comment-86400)
# (https://www.excel-exercise.com/convert-latitude-longitude/#comment-70130)
kindly provide me any kind of excel format or program for convert arbitrary coordinates to GPS coordinates.
https://www.excel-exercise.com/convert-latitude-longitude/ 10/10