Convert degree from decimal number to the standard format (degre.

G

Guest

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
 
R

Ron Rosenfeld

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
 
E

Earl Kiosterud

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

[h]° m' s.00\"
 
R

Ron Rosenfeld

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
 

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