Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Automatically calculate order of certain records

Topic Labels: Formulas
Solved
Jump to Solution
190 2
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Bildschirmfoto 2022-05-31 um 10.45.42

Do you have any solutions in mind? In Excel this could be achieved by the rank formula I believe…

1 Solution

Accepted Solutions

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

See Solution in Thread

2 Replies 2

Hey Christoph, I think you’ll only be able to accomplish this via a script. I’ll DM you

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