![]() |
|
#1
|
|||
|
|||
![]() Quote:
Thank you for the very informative answer. Actually, I couldn’t know how to use the function that you have supplied. How do I use it to convert the decimal angles to DMS? Could you please elaborate more? I think that the second part of my issue is still not solved. What if I need to insert the 35º12’14’’ directly to the cell? Do I need in this case to convert it first to decimal and then using the code to convert it to DMS? Best Jamal |
#2
|
|||
|
|||
![]() Quote:
=Convert_Degree(Convert_Decimal(A1)+Convert_Decima l(A2)) You can enter a value in DMS as a text string, which will be transformed in calculations in decimal. If in A1 is a decimal value, and in A2 a value inserted by you, like 35º12’14’’, then use in A3 the functions like this(convert A2 to decimal, add it to A1, then convert the result to be displayed as DMS): =Convert_Degree(A1+Convert_Decimal(A2)) But, you have another option from Paul, which is a great answer, i am ashamed that i did not realised that sexagesimal circle matches perfectly the time circle and DMS can be displayed by formatting the decimal value to a custom time format [hh]ºmm'ss.00''. With this format, the results can be simply added and the cell formatted to display DMS As Paul sugested, use (A1+A2)/24 in a custom formatted cell and you will have the same answer as the UDF. The problem with this approach is that you cannot enter a value in DMS, values can only be entered in decimal system. And another minus is that this can be applied only to sexagesimal system, will not work on centesimal system (at least i think so... ![]() |
#3
|
||||
|
||||
![]() Quote:
BTW: Who uses centesimal angular measures?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
![]() Quote:
|
#5
|
|||
|
|||
![]() Quote:
Thank you guys for the help. This is very useful. I’m wondering why the Excel doesn’t have such data format as built in feature. We use complicated computations in the engineering surveying that includes angles as a main data. All the computations are based on the angles in DMS. For example, as we collect angle data from the fields, the sum of the measured angles for any polygon should equal (n-2)*180. If the sum is different from this value, then the error is calculated and then distributed in all the measured angles. This is why a lot of angle computation is involved (screenshot). I couldn’t find the ##º##’##.##’’ on the custom (the screenshot is attached) so that I can make the 10:15:22 appears as 10º15’22’’ How can i enter all the angle values (shown in screenshot one) so that they appear in DMS format and can be processed applying particular calculations. Best Jamal |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Lights | Excel | 5 | 04-18-2012 04:31 AM |
calculation of start date | ketanco | Project | 1 | 02-29-2012 07:01 AM |
![]() |
danbl | Excel | 8 | 02-23-2012 04:35 AM |
![]() |
manich1 | Excel | 2 | 12-07-2011 02:59 PM |
Angle Bracket Problem, STYLEREF in Header of a Protected Document | wordjunkie | Word | 0 | 06-18-2010 04:34 AM |