+ Reply to Thread
Results 1 to 5 of 5

How to Convert DD (Decimal Degrees) to DMS (Degrees Minutes Seconds) in Excel via Function

  1. #1
    Registered User
    Join Date
    09-10-2020
    Location
    Pakistan
    MS-Off Ver
    2010
    Posts
    23

    How to Convert DD (Decimal Degrees) to DMS (Degrees Minutes Seconds) in Excel via Function

    Dear Expert,

    I am looking for a formula to convert Decimal Degrees (DD) into Degrees Minutes Seconds (DMS) in excel sheet.

    Sample Sheet is attached please....

    Example:

    DD : 52.635
    DMS: 52°38'6''


    Please help me in this regard.

    Regards

    Rahmatullah
    Attached Files Attached Files
    Last edited by Reahmatullah Ktk; 04-07-2022 at 04:08 PM. Reason: Attaching sample sheet

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: How to Convert DD (Decimal Degrees) to DMS (Degrees Minutes Seconds) in Excel via Func

    try

    degrees in A1

    82.354

    Minutes

    in B1


    =(mod(A1,1)*60)

    =21.24


    seconds

    in C1

    =mod(B1,1)*60

    =14.40

    so final result

    is =INT(A1) & INT(B1) & C1
    Last edited by JohnTopley; 04-07-2022 at 04:25 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    09-10-2020
    Location
    Pakistan
    MS-Off Ver
    2010
    Posts
    23

    Re: How to Convert DD (Decimal Degrees) to DMS (Degrees Minutes Seconds) in Excel via Func

    Quote Originally Posted by JohnTopley View Post
    try

    degrees in A1

    82.354

    Minutes

    in B1


    =(mod(A1,1)*60)

    =21.24


    seconds

    in C1

    =mod(B1,1)*60

    =14.40

    so final result

    is =INT(A1) & INT(B1) & C1
    Minutes & Seconds are OK, Degree Formula is not working?????
    Last edited by Reahmatullah Ktk; 04-07-2022 at 04:15 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: How to Convert DD (Decimal Degrees) to DMS (Degrees Minutes Seconds) in Excel via Func

    To get degrees you just need INT(A1). Like John put in the last line.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: How to Convert DD (Decimal Degrees) to DMS (Degrees Minutes Seconds) in Excel via Func

    See attached

    UPDATED: with your file
    Attached Files Attached Files
    Last edited by JohnTopley; 04-07-2022 at 04:46 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Function to Convert GPS Decimal to GPS DMS ie (Degrees, Minutes and Seconds)
    By USMC7312 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2018, 03:16 PM
  2. Best way to convert Degrees Minutes and Seconds to Decimal of Degrees (and Vice Versa)
    By Aussie_Student in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2017, 02:12 AM
  3. Replies: 4
    Last Post: 07-26-2016, 09:06 AM
  4. [SOLVED] how can i convert degrees/minutes/seconds to decimal degrees?
    By russkris in forum Excel General
    Replies: 14
    Last Post: 03-03-2015, 04:32 AM
  5. [SOLVED] convert decimal degrees to degrees minutes seconds
    By Chris r in forum Excel General
    Replies: 6
    Last Post: 12-06-2013, 06:24 AM
  6. Converting Lat/Long (Degrees Minutes Seconds) to Decimal Degrees
    By Jeremy Rayne in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2008, 06:02 PM
  7. Replies: 2
    Last Post: 04-28-2006, 07:20 AM

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