Displaying angles in degrees, minutes and seconds

  • Thread starter Thread starter Fernando Ronci
  • Start date Start date
F

Fernando Ronci

Hi,
In Excel 97, how do I format a cell to display an angle of, say, 37.78456
degrees as 37º 47' 4.4" ?

Thank you,
Fernando Ronci
E-mail: (e-mail address removed)
 
Hi!

Try

=INT($C$4)& CHAR(186) &" "&INT((($C$4-INT($C$4))*3600)/60)&"' "
ROUND((($C$4-INT($C$4))*3600)-INT((($C$4-INT($C$4))*3600)/60)*60,2)&""""

where your value is in C4.

It isn't fancy, but it works (at least as far as I have tested it).

Al
 
Hi!

Thanks, Gord. I just knew in my bones there had to be a more elegan
way...


Al
 

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

Back
Top