AI Assistant
Notifications
Clear all

Excel formula for degree conversion

5 Posts
4 Users
0 Reactions
980 Views
scott-zelenak
(@scott-zelenak)
Posts: 601
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I remember this thread but I'm too lazy to look it up.
Someone was looking for Excel formulae to convert degrees back and forth.
Here's how I handle it;

The formula is in the formula bar.

The formatting of the cell showing symbols and the value typed in. Notice no decimal until after the whole seconds value. In order to get the degrees symbol into the format, I had to copy and paste into the format. Sneaky.

And the reverse;
The formatting is for hours, minutes, and seconds but who cares, it's the same.


 
Posted : October 29, 2011 4:11 pm
dave-karoly
(@dave-karoly)
Posts: 11990
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I started putting degrees, minutes and seconds in separate cells in the 1990s because the Intel processors then couldn't handle large numbers without rounding errors (e.g. trying to split one number into separate pieces). I still do it that way and it makes converting to decimal degrees easy.


 
Posted : October 29, 2011 4:15 pm
scott-zelenak
(@scott-zelenak)
Posts: 601
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

What the heck, more tips.

Converting milliarcseconds of time into decimal degrees;

Converting milliarcseconds into decimal degrees;


 
Posted : October 29, 2011 4:23 pm
john-hamilton
(@john-hamilton)
Posts: 3438
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Thanks Scott. VERY useful. I wish we could just use grads...


 
Posted : October 29, 2011 7:22 pm
BigE
 BigE
(@bige)
Posts: 2685
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Who is our friend in New Zealand that wrote a complete Excel add-on that does all this sutff? Mr. Fox I believe? I think his name is Jim. I'm not certain. I have written these conversion routines in several different programming languages. They aren't fun. SPC to lat-lon was the toughest. It took me a couple days just to weed through the math (thank goodness I was also a math major). A couple more days to write the program.
Only a number-head versed in programming languages could have managed that trick.
Lucky me.


 
Posted : October 30, 2011 9:50 am