
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎May 31, 2022 01:47 AM
Hi there helpful community,
I am currently facing the following issue: I have a list of requests from customers that I map to retailers in their area. I successfully calculate the distance between each customer and each retailer using the Google Maps Distance API. Now, I would like to automatically calculate the order of those distances, e.g. 1 = closest; 2 = 2nd closest, etc.
I simulated this in the screenshot below. Instead of me assigning those numbers (1-3 in this example), I would like to calculate this automatically for all requests.
Do you have any solutions in mind? In Excel this could be achieved by the rank formula I believe…
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎May 31, 2022 05:20 AM
Thanks @Adam_TheTimeSavingCo!
I also found another solution that allows me to easily automate it via a script: Comparing records in different fields in the same table
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎May 31, 2022 04:01 AM
Hey Christoph, I think you’ll only be able to accomplish this via a script. I’ll DM you

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎May 31, 2022 05:20 AM
Thanks @Adam_TheTimeSavingCo!
I also found another solution that allows me to easily automate it via a script: Comparing records in different fields in the same table
