Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 4
Default Longtitude and Latitude Question

I am currently working on this project at work and I need help. I 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 when I pick one of the variables, I can enter whatever miles I want and it will return all variables with lats and long within that circumference of the distance that I've entered. The equation I used for finding the miles 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.756

Last edited by Mastermind4real : April 17th 12 at 11:35 PM
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 157
Default Longtitude and Latitude Question

Hi
Check this link, it maybe usefull to you.
http://www.cpearson.com/excel/LatLong.aspx
HTH
Cimjet
"Mastermind4real" wrote in message
...

I am currently working on this project at work and I need help. I 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 when I
pick one of the variables, I can enter whatever miles I want and it will
return all variables with lats and long within that circumference of the
distance that I've entered. The equation I used for finding the miles
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.756




--
Mastermind4real


  #3   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by Cimjet[_3_] View Post
Hi
Check this link, it maybe usefull to you.
http://www.cpearson.com/excel/LatLong.aspx
HTH
Cimjet
"Mastermind4real" wrote in message
...

I am currently working on this project at work and I need help. I 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 when I
pick one of the variables, I can enter whatever miles I want and it will
return all variables with lats and long within that circumference of the
distance that I've entered. The equation I used for finding the miles
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.756




--
Mastermind4real
it seems that is trying to find the distance from point A to point B and not tell me what I am trying to solve. I am trying to find Places within a distance of a know point
  #4   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by Mastermind4real View Post
I am currently working on this project at work and I need help. I 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 when I pick one of the variables, I can enter whatever miles I want and it will return all variables with lats and long within that circumference of the distance that I've entered. The equation I used for finding the miles 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.756
it seems that the resource you gave me is trying to find the distance from point A to point B and not tell me what I am trying to solve. I am trying to find Places within a distance of a know point
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Longtitude and Latitude Question

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


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Longtitude and Latitude Question

On Apr 20, 3:34*pm, cubbybear3 wrote:
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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Latitude/Longitude Mike and Cheryl Tindall Excel Discussion (Misc queries) 1 October 15th 09 12:39 AM
Formating Longitude and Latitude Mark Excel Worksheet Functions 0 February 13th 08 06:22 PM
Latitude and Longitde problem Francois Ashton Excel Discussion (Misc queries) 3 December 27th 05 03:33 PM
formula for longitude/latitude Leo Excel Discussion (Misc queries) 2 June 3rd 05 06:40 PM
Help with Latitude and Longitude. LadiFireBug New Users to Excel 1 January 22nd 05 08:54 AM


All times are GMT +1. The time now is 06:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"