Well, this is what i came up with;
On my worksheet;
Cell A2 is housing the header: "Latitude -1:"
Cell A3 is housing the header: "Longitude -1 :"
Cell A4 is housing the header:"Azimuth :"
Cell A5 is housing the header:"Distance:"
.
Cell B2 is housing the value: 33.3362
Cell B3 is housing the value: -82.21
Cell B4 is housing the value: 145.9
Cell B5 is housing the value: 5
.
Cell E2 is housing the header: "Latitude -2 :"
Cell E3 is housing the header: "Longitude -2 :"
.
I entered the following formula in cell F2 and got the result as;
33.2989617271686
Code:
=ASIN(SIN(B2*PI()/180)*COS(B5/6371)+COS(B2*PI()/180)*SIN(B5/6371)*COS(B4*PI()/180))*180/PI()
Then, entered the following formula in cell F3 and got the result as;
-82.1798382123285
Code:
=(B3*PI()/180+ATAN2(COS(B5/6371)-SIN(F2*PI()/180)*SIN(F2*PI()/180);SIN(B4*PI()/180)*SIN(B5/6371)*COS(F2*PI()/180)))*180/PI()
Depending on your version of Excel you are using, you may need to change the semicolon characters(
;) to comma (
,)
The results seem to be OK with the online tool i mentioned in my previous post.