Getting Country from Latitude & Longitude co-ordinates in Excel

nad5raf

New Member
Joined
Jan 29, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
I have a list of co-ordinates which I want to automate somehow to get the Country the co-ordinates are pointing to.

I am not an Excel guru so some guidance will be greatly appreciated.
I have quite a few of these to do and will require accurate output.

Thanks you
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi Nad5raf,

Countries are not a uniform shape so there's no longitude/latitude range you can use to calculate a country. Also some countries are small (Monaco and Vatican countries are each smaller than a square mile) so a map would be needed for accuracy.

I'm sure there's some Excel Addins or APIs which can be used to retrieve the country for co-ordinates so we can see whether other forum members have that experience.

You don't say how many is "quite a few" but you can probably estimate using some internet data. For example, this site has over 15,000 world city co-ordinates which may help:
World Cities Database | Simplemaps.com
 
Upvote 0
You're probably better off using Python for that. There is some very simple stuff, that's very easy to do. There are some tutorials online that'll talk you right through it.
 
Upvote 0

Forum statistics

Threads
1,225,998
Messages
6,188,322
Members
453,469
Latest member
Dutch1685

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top