I'm struggling with a lat/long problem and was hoping someone would be willing to lend their mind. I have a list of airports and their lat/long coordinates. For each airport, I am looking to calculate the closest airport from the remainder of the list and return both the identifier of that airport and the distance between the two.
I have modeled this using {=Min(if(argument<>0,argument))} but the array formula absolutely kills my i5 processor. My model is using only 14 airports and my final product will need to use around 400. I've attached a sample xlsx to illustrate my work thus far. Also, I haven't been able to provide the identifier of that next nearest airport - only the distance between the two.
There must be a cleaner way to do this....
Thanks for any help!
CS
Bookmarks