Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAThis one took WWAAAAAYYY too long, but I guess a pretty good training experience... Like others, started out looking at geometry/trig. While probably possible, was simply getting too complex. Ended up going the route others took and used trade area/distances. My first standard macro, so struggled with that a bit. I have to remember that the macro acts on the whole dataset, and not just one record at a time, as a function would.
Macro:
To explain the "furthest" calc a bit... We create the "trade area" around the end point we are considering. Since it's a circle, we can't find the "furthest" point from the same point - the distances will all be the same. Instead, we find the furthest distance from the OTHER point. This SHOULD yield the point that is at the intersection of the existing line if it were to be extended to/through the circle. Sample below.
Mark