2

I need to somehow convert google maps link into geographical coordinates( longitude, latitude). Like in one column I have the link and in other two must be the coordinates.

1

1 Answer 1

3

If column A contains the links (starting at A2), you will get the two values (lat & lng) into two separate columns using this formula:

=Index(if(A2:A<>"",Split(regexextract(A2:A,"@([^,]*,[^,]*)"),","),))

maps

1
  • What if the links do not contain the lat/lon already in the url string? For example: maps.app.goo.gl/DYZim92V68RLKQ2Y9 -- is there a google sheets formula or API call we can make to return lat/lon? Nov 9, 2023 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.