Mileage lookup

rlocher

New Member
Joined
Oct 4, 2007
Messages
15
Hello,
I'm trying calculate the mileage between two zip codes in my spreadsheet. I guess I can use some kind of vlookup or index function but I need the actual database to seach against. Does anyone know where I could download something like this?

The sheet is large, so calculating by hand using a point to point feature is not an option.

Does anyone have any ideas how to do this?

Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
To compute distances between zip codes in the US, you will need a database that has the latitude and longitude of the center of each zipcode. There are several available, zip*data from melissadata.com is one. A good approximation without using spherical geometry can be obtained by DistLat = 69.1*(lat2-lat1) and Distlong= 69.1*(long2-long1)*(cos(lat1/57.3)) With the distance then being sqrt(Distlat^2+Distlong^2)
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,738
Members
452,940
Latest member
Lawrenceiow

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