Excel. Data type -> Geography. Why are coordinates for large cities missing?

30 Views Asked by At

In Excel if you have a city in a cell, it is possible to go to Data tab and then choose Geography as data type.

enter image description here

This will allow to get map coordinates: longitude and latitude.

enter image description here

However, it might be able to recognize smaller cities, while some major cities are missing. For example, here are two cities in Hungary where it cannot recognize the capital. Similarly, it can recognize Stuttgart in Germany but not Berlin. My problem is that I have a VBA macro that calculates the distance between two cities, and I am using this method. Does anyone have any idea about the logic - why are some major cities missing? Thanks!

enter image description here

0

There are 0 best solutions below