Press Enter

PROJECT TITLE

    Press Enter

    PROJECT TITLE
    jerseystem

    VBA calculation for Distance between 2 points (Latitude longitude)

    • 1 Comment
    • 0 bids
    • Open 7 years ago

    Project description:

    JerseySTEM needs to calculate distances between 2 points on a map identified by Latitude and longitude

    Input:

    Table FROM: CodeFrom, LatitudeFrom, LongitueFron ( x rows)

    Table TO: CodeTo,LatitudeTo,LongitudeTo (y rows)

    Output:

    Table Distance:CodeFrom.CodeTo,Distance (x*y rows )

    Formula:

    =ACOS(SIN(latfrom)*SIN(latto) + COS(latfrom)*COS(latto)*COS(lonto-lonfrom) ) * 6371000

    Preferably an Excel MAcro

    1 Comment

    1. kendalladkins

      Why not just use an excel formula?

    Comment

    Skills required:

    Category:

    Attachments:

    VOLUNTEERS BIDDING (0)
    REPUTATION
    BID
    There are no bids yet.
    ABOUT EMPLOYER
    • Address: 36 Chatham Road, Summit, NJ
    • Project posted: 1
    • Hires: 0