Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Getting text and grid at a 45 degree angle | Charts and Charting in Excel | |||
How do I turn cells to a 45-degree angle? | Excel Discussion (Misc queries) | |||
degree or angle | Excel Worksheet Functions | |||
Imputting an angle degree. Degree, minute, second | Excel Discussion (Misc queries) | |||
Imputting an angle degree. Degree, minute, second | Excel Worksheet Functions |