Search the web
Sign In
New User? Sign Up
XL-mania · Microsoft Excel Community
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Convert Angle to DMS   Message List  
Reply Message #10640 of 14908 |
Dear all,

I just join this mailing list. Nice to know you all. I hope forum would help
my problem.
I have angle data which inputted in Degree Minute Second (dms) in each cell.
A1=46 (degree)
B1=2 (minute)
C1=0 (second)

Then I use this formula to get a value in Degree.
A2=A1+B1/60+C1/3600

Then I turn it back to dms by this formula:
A3=TRUNC(A2)
B3=TRUNC((A2-A3)*60)
C3=((A2-A3)-(B3/60))*3600

This formula is correct if A3 isn't zero (0), but it will be incorrect if A3
is zero (0). For the example:
------------------------------
Data | Values | Expected
~~~~~~~~|~~~~~~~~~~|~~~~~~~~~~
A1=46 | A3=46 | A3=46
B1=2 | B3=2 | B3=2
C1=25 | C3=25 | C3=25
--------|----------|----------
A1=46 | A3=46 | A3=46
B1=2 | B3=1 | B3=2
C1=0 | C3=60 | C3=0
--------|----------|----------
See.., C3 should be <60.
Any idea about this?

Btw Mr. Abimono, I bought your 50 Jurus Rahasia Excel. It's awesome. I knew
this mailing list from that book. I really expect your next book.
Regards,
Rae - Papua


Mon Jun 9, 2008 8:18 am

wsandirachman
Offline Offline
Send Email Send Email

Attachment
Convert Angle to DMS.xls
Type:
application/vnd.ms-excel
Message #10640 of 14908 |
Expand Messages Author Sort by Date

Dear all, I just join this mailing list. Nice to know you all. I hope forum would help my problem. I have angle data which inputted in Degree Minute Second...
rae caemen
wsandirachman
Offline Send Email
Jun 9, 2008
10:00 am

i hope this can help........................ Dear all, I just join this mailing list. Nice to know you all. I hope forum would help my problem. I have angle...
junawardi
junawardi96
Offline Send Email
Jun 10, 2008
3:50 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help