Postcode distances

K

keithobro

Hello

At work I have an Excel worksheet containing the UK Postcodes of candidates.
We have 6 centres at which we run interviews. I want to calculate the
distances between a candidate's home and each of the 6 centres in order to
ascertain which is closest.

Does anyone know of a way of performing this calculation through Excel, or
of a piece of software that would achieve this, without massive cost?

Thanks.

Keith Brooker
 
J

JP

For some reason I can't view the original message.

You could do this with a worksheet function, for example:

=HYPERLINK("http://www.mapquest.com/directions/main.adp?
go=1&do=nw&1a="&$C4&"&1c="&$D4&"&1s="&$E4&"&1z="&$F4&"&2a="&$J4&"&2c="&
$K4&"&2s="&$L4&"&2z="&$M4&"&1y=US&2y=US&cid=lfddlink","Driving
Directions & Distance")

Put the starting address in C4:F4 and destination address in J4:M4.

C4: Street Address
D4: City
E4: State
F4: Zip

J4: Street Address
K4: City
L4: State
M4: Zip

You have to adjust the formula since you are in the UK, and you have
to search each one manually, but you get the idea.

For a VBA solution, check out http://www.codeforexcelandoutlook.com/excel.html,
I wrote a function called GetDistance() which automates the above
process (somewhat).


HTH,
JP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top