Hi All,
I have a spreadsheet with a cell (body) with longitude and latitude I'm parsing using formulas. What I'm trying to do is parse the longitude and latitude which is in degrees, minutes, seconds and in this specific format and to parse and convert it to decimal degrees. Here is a sampling of the data. I have the parsing formula figured out (with help from the forum), but can't seem to get the conversion part done - hoping to handle both in the same formula.
Any help would be much appreciated.
This GPS coordinate in degrees minutes seconds converted via decimal degrees is 37.77925111, -122.4304281
Here are the formulas I'm using to parse the latitude and longitude. Hoping someone could help me incorporate both the parsing and conversion into one formula per value:
Latitude =REPLACE(LEFT(A2,FIND("Altitude",A2)-4),1,FIND("Latitude",A2)+9,"")
longitude =REPLACE(LEFT(A2,FIND("Latitude",A2)-4),1,FIND("Longitude",A2)+9,"")
I have a spreadsheet with a cell (body) with longitude and latitude I'm parsing using formulas. What I'm trying to do is parse the longitude and latitude which is in degrees, minutes, seconds and in this specific format and to parse and convert it to decimal degrees. Here is a sampling of the data. I have the parsing formula figured out (with help from the forum), but can't seem to get the conversion part done - hoping to handle both in the same formula.
Any help would be much appreciated.
Body | Latitude | Longitude |
Longitude 122 25 49.541W Latitude 037 46 45.304N Altitude 8 meter (from sea level) | 037 46 45.304N | 122 25 49.541W |
This GPS coordinate in degrees minutes seconds converted via decimal degrees is 37.77925111, -122.4304281
Here are the formulas I'm using to parse the latitude and longitude. Hoping someone could help me incorporate both the parsing and conversion into one formula per value:
Latitude =REPLACE(LEFT(A2,FIND("Altitude",A2)-4),1,FIND("Latitude",A2)+9,"")
longitude =REPLACE(LEFT(A2,FIND("Latitude",A2)-4),1,FIND("Longitude",A2)+9,"")