Longtitude and Latitude Question

M

Mastermind4real

I am currently working on this project at work and I need help. I hav
about 100 different variables with lats and long assigned to them.
used the equation below to find the distance from point a to point b
but now I am trying to come up with an additional equation that when
pick one of the variables, I can enter whatever miles I want and it wil
return all variables with lats and long within that circumference of th
distance that I've entered. The equation I used for finding the mile
is below:

=ACOS(COS(RADIANS(90- LATITUDE OF A)) *COS(RADIANS(90- LATITUDE OF B)
+SIN(RADIANS(90- LATITUDE OF A)) *SIN(RADIANS(90- LATITUDE OF B)
*COS(RADIANS(LATITUDE OF A- LONGTITUDE OF B))) *3958.75
 
M

Mastermind4real

'Cimjet[_3_ said:
;1600925']Hi
Check this link, it maybe usefull to you.
http://www.cpearson.com/excel/LatLong.aspx
HTH
Cimjet
message
I am currently working on this project at work and I need help. have
about 100 different variables with lats and long assigned to them. I
used the equation below to find the distance from point a to point b,
but now I am trying to come up with an additional equation that whe I
pick one of the variables, I can enter whatever miles I want and i will
return all variables with lats and long within that circumference o the
distance that I've entered. The equation I used for finding th miles
is below:

=ACOS(COS(RADIANS(90- LATITUDE OF A)) *COS(RADIANS(90- LATITUDE O B))
+SIN(RADIANS(90- LATITUDE OF A)) *SIN(RADIANS(90- LATITUDE OF B))
*COS(RADIANS(LATITUDE OF A- LONGTITUDE OF B))) *3958.756
it seems that is trying to find the distance from point A to point B an
not tell me what I am trying to solve. I am trying to find Place
within a distance of a know poin
 
C

cubbybear3

Mastermind4real,

You have a couple of errors in the last line (as displayed) of your
formula.
It should be Longitude A (not Latitude A) also the constant should be
3440.065 not 3958.756.

-pb
 
C

cubbybear3

Mastermind4real,

You have a couple of errors in the last line (as displayed) of your
formula.
It should be Longitude A (not Latitude A) also the constant should be
3440.065 not 3958.756.

-pb

Oop's, my mistake, 3958.756 is correct for Statute miles, 3440.065 is
for nautical miles.
-pb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top