Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default how make an angle to show in degree, minute,second instead of degree

hi,

i wonder how to change an angle to show in degree, minute,second instead of
degree in excel

i mean, for instance, make 45.5 (degree) to 45.3000 (d m s)

thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default how make an angle to show in degree, minute,second instead ofdegree

I'd start with Chip Pearson's site:
http://cpearson.com/excel/latlong.htm

EXCEL$B!!(BNEWS wrote:

hi,

i wonder how to change an angle to show in degree, minute,second instead of
degree in excel

i mean, for instance, make 45.5 (degree) to 45.3000 (d m s)

thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how make an angle to show in degree, minute,second instead of degree

Here is one way...

DecimalDegrees = 45.5
DegreesMinutesSeconds = Int(DecimalDegrees) & Format((DecimalDegrees - _
Int(DecimalDegrees)) / 24, "\.nnss")

Rick


"EXCEL NEWS" wrote in message
...
hi,

i wonder how to change an angle to show in degree, minute,second instead
of degree in excel

i mean, for instance, make 45.5 (degree) to 45.3000 (d m s)

thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how make an angle to show in degree, minute,second instead of degree

Thanks a lot

"Rick Rothstein (MVP - VB)" wrote in
message ...
Here is one way...

DecimalDegrees = 45.5
DegreesMinutesSeconds = Int(DecimalDegrees) & Format((DecimalDegrees - _
Int(DecimalDegrees)) / 24, "\.nnss")

Rick


"EXCEL NEWS" wrote in message
...
hi,

i wonder how to change an angle to show in degree, minute,second instead
of degree in excel

i mean, for instance, make 45.5 (degree) to 45.3000 (d m s)

thanks



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how make an angle to show in degree, minute,second instead of degree

You are welcome. As it turns out, we can simplify the expression somewhat..

DecimalDegrees = 45.5
DegreesMinutesSeconds = Int(DecimalDegrees) & _
Format(DecimalDegrees / 24, "\.nnss")

Rick


"EXCEL NEWS" wrote in message
...
Thanks a lot

"Rick Rothstein (MVP - VB)" wrote in
message ...
Here is one way...

DecimalDegrees = 45.5
DegreesMinutesSeconds = Int(DecimalDegrees) & Format((DecimalDegrees - _
Int(DecimalDegrees)) / 24, "\.nnss")

Rick


"EXCEL NEWS" wrote in message
...
hi,

i wonder how to change an angle to show in degree, minute,second
instead of degree in excel

i mean, for instance, make 45.5 (degree) to 45.3000 (d m s)

thanks




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
Getting text and grid at a 45 degree angle clemsongirl Charts and Charting in Excel 5 July 9th 08 03:17 PM
How do I turn cells to a 45-degree angle? WJason Excel Discussion (Misc queries) 6 May 15th 07 12:03 AM
degree or angle ekkeindoha Excel Worksheet Functions 3 January 29th 07 01:54 PM
Imputting an angle degree. Degree, minute, second Graham Excel Discussion (Misc queries) 6 October 19th 06 03:07 PM
Imputting an angle degree. Degree, minute, second Graham Excel Worksheet Functions 1 October 13th 06 07:58 PM


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