+ Reply to Thread
Results 1 to 3 of 3

Deg.Min difference doesn't show minus sign

  1. #1
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    Deg.Min difference doesn't show minus sign

    1 Degree = 60 Mn
    4732 is a Standard, derived from 78 deg, 52 mn (78*60+52=4732).

    Input

    B2= degree
    C2 = Minute

    Results

    B3=INT((4732-((B2*60)+C2))/60)
    C3=MOD(4732-((B2*60)+C2),60)


    Result = B3 & C3 = 78-52 - (B2 C2)

    So,

    78deg 52mn - 79deg-40mn = -1 -12 (B3, C3 respectively)

    But only B3 is showing "-", C3 is always "+".

    What should be the right formula.

    Please see the attachement, if needed.
    Attached Files Attached Files
    Last edited by jilaba; 03-04-2009 at 11:29 AM. Reason: Solved

  2. #2
    Registered User
    Join Date
    01-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    67

    Re: Deg.Min difference doesn't show minus sign

    see the attachment (Sheet 2).
    Does it help?
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    Re: Deg.Min difference doesn't show minus sign

    Sorry, doesn't help, Thanks. But i found the way, after breaking my head.

    B3=IF(((B2*60)+C2)>4732,TRUNC((((B2*60)+C2)-4732)/60),-TRUNC((4732-((B2*60)+C2))/60))
    C3=IF(((B2*60)+C2)>4732,(MOD((((B2*60)+C2)-4732),60)),-MOD(4732-((B2*60)+C2),60))

    Quote Originally Posted by c_m View Post
    see the attachment (Sheet 2).
    Does it help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1