Problem Given the latitude and longitude of selected cities, create a table that gives the distance between any two of the listed cities. Solution With raw data highlighted in green, I first created a grid of all the cities. The horizontal row was Transpose pasted over In cell H4, I used the formula Copy and pasted the above formula over the entire table (highlighted in blue)