Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Florin Balcu
 
Posts: n/a
Default How to convert decimal values (dd.dddddd) to degrees/minutes/seco.

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
  #2   Report Post  
Kieran
 
Posts: n/a
Default


Florin,

Nice to hear that Perth is getting a mention.

Look at http://www.cpearson.com/excel/latlong.htm for lots on tips on
this type of conversion to/from DMS.


--
Kieran

Born ignorant and still perfecting the art
------------------------------------------------------------------------
Kieran's Profile: http://www.excelforum.com/member.php...fo&userid=1247
View this thread: http://www.excelforum.com/showthread...hreadid=277622

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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)



"Florin Balcu" <Florin wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 11:24 PM
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 02:04 AM


All times are GMT +1. The time now is 01:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"