+ Reply to Thread
Results 1 to 6 of 6

Convert Angle (Azimuth) to Bearing format.

  1. #1
    Registered User
    Join Date
    11-12-2015
    Location
    Manila. Philippines
    MS-Off Ver
    2013
    Posts
    3

    Convert Angle (Azimuth) to Bearing format.

    Hi just new to this wonderful site. My problem is that I can't find a cell format that can convert angles to bearings (surveyor's units for AutoCAD).
    For example, I have an angle/azimuth of 225.5 degrees (reference line is from south), I would like it to be converted to N 45° 30' E.

    Any help? Thanks in advance excel whiz masters

  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,208

    Re: Convert Angle (Azimuth) to Bearing format.

    VBA function

    In a cell enter

    =Bearing(225.5)


    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-12-2015
    Location
    Manila. Philippines
    MS-Off Ver
    2013
    Posts
    3

    Re: Convert Angle (Azimuth) to Bearing format.

    Thank you sir JohnTopley. But there's just a little problem, the reference line of your vba formula is from the positive x axis, I would like to have been referred it to the negative Y axis (south) so 225 degrees will result to N 45° 30' E. Can you do this favor again sir? thanks in advance

  4. #4
    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,208

    Re: Convert Angle (Azimuth) to Bearing format.

    My "knowledge" of this only came from what I gleaned from the internet this morning. Can you provide more example data so I can try and get the correct answers.

    The attached gives the answer for your one example but suspect it may not for others. The VBA code is simple and you should be able to change the calculations which simply subtract degrees depending on whether <90, <180, <270.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-12-2015
    Location
    Manila. Philippines
    MS-Off Ver
    2013
    Posts
    3

    Re: Convert Angle (Azimuth) to Bearing format.

    It worked perfectly sir. I did edit some of the script just like you said. Thanks again sir JohnTopley and more power!

  6. #6
    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,208

    Re: Convert Angle (Azimuth) to Bearing format.

    Thank you for the feedback. And well done on changing the macro.

    Can you please mark the thread as SOLVED ("Tthread Tools" at top first post)

+ 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. VERY DIFFICULT FORMATTING NEED HELP Inclination and Azimuth
    By ryan1977flem in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2014, 10:27 AM
  2. If statement on azimuth range
    By ducati996rl in forum Excel General
    Replies: 5
    Last Post: 09-20-2013, 03:26 AM
  3. [SOLVED] True Bearing between 0 and 360 problem
    By William123 in forum Excel General
    Replies: 4
    Last Post: 05-07-2013, 09:32 AM
  4. 3 digit bearing
    By AerografX in forum Excel General
    Replies: 3
    Last Post: 02-10-2012, 09:07 AM
  5. how to auto-convert angle in the range from 0 to 360
    By winglj in forum Excel General
    Replies: 1
    Last Post: 07-14-2010, 01:27 AM
  6. convert angular (Deg,Min,Sec) to dec angle
    By cheddarthief in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2010, 01:53 PM
  7. [SOLVED] convert an angle to degrees minutes seconds
    By Mac in forum Excel General
    Replies: 1
    Last Post: 03-22-2005, 12:06 AM

Tags for this Thread

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