How to convert decimal values (dd.dddddd) to degrees/minutes/seco.

G

Guest

I would like to convert decimal values (-33.654873) to degrees/minutes/seconds
I am looking for an automatic function to do this.

-33.654873 = -33 degrees 39 minutes (0.654873*60 = 39.29238) 18 seconds
(0.29238 * 60 = 17.54)

Is there a way to do this autmatically?

Kind regards,

Florin Balcu
Perth, Western Australia
 
P

Peo Sjoblom

Using your example you could use

=TRUNC(A1)&CHAR(176)&TEXT(MOD(ABS(A1),1)/24," mm:ss")

in general you can find a lot of info here

http://www.cpearson.com/excel/latlong.htm

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top