So I have a formula for calculating the distance between two locations,however I want to have a second function that uses this one. The second function would get a list of lat, long values with corresponding numbers 1,2,3,etc.Then for for each point on the list run the GPSDist on all the other lat long data in that column. find the set that has the smallest distance (d) value, and say what number that lat long corresponds to.So I have a formula for calculating the distanc