Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Zainelabdin
 
Posts: n/a
Default Convert degree from decimal number to the standard format (degre.

How to Convert degree from decimal number to the standard format (degree °
minutes ´ seconds€³.
I tried custom but could not work out for some degrees.
Thanks
  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sat, 26 Mar 2005 08:23:01 -0800, "Zainelabdin"
wrote:

How to Convert degree from decimal number to the standard format (degree °
minutes ´ seconds?.
I tried custom but could not work out for some degrees.
Thanks


Here's one way:

Divide your decimal degrees by 24. Then format the cell as:

Format/Cells/Number/Custom Type: h° m' s.00\"

Note that the degree symbol after the h is entered by holding down the <alt
key and then typing 0176 on the numeric keypad; then release the <alt key.

Using the above,

with 5.954 in A1;
B1 formatted as above;
B1 containing the formula =A1/24,

B1 will show: 5° 57' 14.40"



--ron
  #3   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

To keep degrees (Excel thinks they're hours) from rolling over to days, I
think you need to use:

[h]° m' s.00\"

--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"Ron Rosenfeld" wrote in message
...
On Sat, 26 Mar 2005 08:23:01 -0800, "Zainelabdin"
wrote:

How to Convert degree from decimal number to the standard format (degree
°
minutes ´ seconds?.
I tried custom but could not work out for some degrees.
Thanks


Here's one way:

Divide your decimal degrees by 24. Then format the cell as:

Format/Cells/Number/Custom Type: h° m' s.00\"

Note that the degree symbol after the h is entered by holding down the
<alt
key and then typing 0176 on the numeric keypad; then release the <alt
key.

Using the above,

with 5.954 in A1;
B1 formatted as above;
B1 containing the formula =A1/24,

B1 will show: 5° 57' 14.40"



--ron



  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sat, 26 Mar 2005 20:39:13 -0500, "Earl Kiosterud"
wrote:

To keep degrees (Excel thinks they're hours) from rolling over to days, I
think you need to use:

[h]° m' s.00\"


Good pickup! I only tested with small numbers.


--ron
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 HEXADECIMAL CELL TO DECIMAL NUMBER JAY Excel Worksheet Functions 4 January 25th 05 02:45 AM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
How to convert a decimal number to a non-decimal number? snickers22 Excel Worksheet Functions 4 January 13th 05 10:04 PM
how to convert total hours (HH:MM) into decimal number Greg T Excel Worksheet Functions 1 November 17th 04 03:07 PM
Convert week number into calendar month? WickyWick Excel Worksheet Functions 2 November 9th 04 09:01 PM


All times are GMT +1. The time now is 04:23 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"