Please note that our google script uses google maps to get a “driving” distance between two addresses.
It appears the Appsheet DISTANCE() function is a little different as it seems to use the lat and long to calculate the straight line distance between two points.
Additional Questions:
1- Is there a function to get lat and long from an address in the US?
2-Is there a way in Appsheet to calculate the “Driving” distance between two addresses?
2-Is there a way to call a google sheet script from within Appsheet?
It appears the Appsheet DISTANCE() function is a little different as it seems to use the lat and long to calculate the straight line distance between two points.
This is correct.
1- Is there a function to get lat and long from an address in the US? :No
2-Is there a way in Appsheet to calculate the “Driving” distance between two addresses? :No
2-Is there a way to call a google sheet script from within Appsheet? : No , only solution is you push your custom function (expression) into google spreadsheet cell to run your script to get distance you need.
I am new at Appsheet (1 week in… so please excuse if this is a silly question, But)
Do you mean using the “Spreadsheet formula option” under Data Validity section of the column properties? (Hope I got this description right - if not - I will try to send a pic).
Based on Appsheet documentation this is used to pass a formula like “C2 = C3 + C4”
Questions:
1-this seems intended to calculate the value of another cell based on the value entered for the cell selected (is this correct?).
2-can we assign a “spreadsheet” formula like “=C3 + C4” to calculate the value of the cell itself?
3-how can we pass along a function that looks like “=DISTANCE(A,B)” and applied to the cell selected.