Excel Formula Help

Having difficulties with AvCanada Forums, the internet etc.. ask your questions here.

Moderators: sky's the limit, sepia, Sulako, North Shore

Post Reply
User avatar
petite
Rank 7
Rank 7
Posts: 690
Joined: Sat Apr 10, 2004 8:22 am
Location: In search of an appletini

Excel Formula Help

Post by petite »

I know very little about computers and excel. Now with that out of the way.
I want to be able to use the longitude and latitude of two sites and get the distance between them. Perhaps I'm complicating this by looking to use excel when there's a mathematical method I can do on paper BUT either way I'd appreciate some help.
---------- ADS -----------
 
The things I love are not HR approved
"I hate you so much right now." - sar
andyf
Rank 0
Rank 0
Posts: 6
Joined: Wed Oct 10, 2007 11:18 pm
Contact:

Post by andyf »

I doubt excel will help you in doing so, but if you can write a proper mathematical formula you can get accurate results.
Hope this site will help you : exceltip.com
---------- ADS -----------
 
User avatar
Grey_Wolf
Rank 7
Rank 7
Posts: 697
Joined: Sat Aug 19, 2006 1:23 pm

Post by Grey_Wolf »

Hey Petite,

We've got a program at work that does this for us in an excel format :wink: (finding distance and magnetic track) for flight planning purposes. Only kicker is that you have to plug in the coordinates into a sub-page for it to work. It helps if you know the coords in decimal since the program does it that way.

Anyway let me know, I could send it to you or punch it in here and then send you the info.

Ciao
---------- ADS -----------
 
"A good traveller has no fixed plan and is not intent on arriving." -Lao Tzu
200hr Wonder
Rank 10
Rank 10
Posts: 2212
Joined: Tue Apr 26, 2005 1:52 pm
Location: CYVR
Contact:

Post by 200hr Wonder »

Petite I could do this for you in excel in about 10 to 20min if I knew which formula you where using.
---------- ADS -----------
 
just curious
Rank Moderator
Rank Moderator
Posts: 3592
Joined: Mon Feb 23, 2004 9:29 am
Location: The Frozen North
Contact:

Post by just curious »

Sure, I can rack my brain for you, or post this link:
http://www.gpsvisualizer.com/calculators
---------- ADS -----------
 
just curious
Rank Moderator
Rank Moderator
Posts: 3592
Joined: Mon Feb 23, 2004 9:29 am
Location: The Frozen North
Contact:

Post by just curious »

---------- ADS -----------
 
just curious
Rank Moderator
Rank Moderator
Posts: 3592
Joined: Mon Feb 23, 2004 9:29 am
Location: The Frozen North
Contact:

Post by just curious »

http://www.cpearson.com/excel/latlong.htm

this one has a formula petite, or you could pm me for a worksheet
---------- ADS -----------
 
just curious
Rank Moderator
Rank Moderator
Posts: 3592
Joined: Mon Feb 23, 2004 9:29 am
Location: The Frozen North
Contact:

Post by just curious »

Some great circle formulae:
Distance between points
The great circle distance d between two points with coordinates {lat1,lon1} and {lat2,lon2} is given by:

d=acos(sin(lat1)*sin(lat2)+cos(lat1)*cos(lat2)*cos(lon1-lon2))
A mathematically equivalent formula, which is less subject to rounding error for short distances is:

d=2*asin(sqrt((sin((lat1-lat2)/2))^2 +
cos(lat1)*cos(lat2)*(sin((lon1-lon2)/2))^2))
---------- ADS -----------
 
Post Reply

Return to “Internet and Computer Help”