+ Reply to Thread
Results 1 to 11 of 11

UK Postcode Distance Calculator

  1. #1
    Registered User
    Join Date
    06-13-2008
    Location
    Kent
    Posts
    1

    UK Postcode Distance Calculator

    Hi,

    Im looking for and Excel Spreadsheet that calculates the distance between 2 x UK Postcodes in a straight line.

    Please, please help!

    You can email me the spreadsheet (or contact me) at: helen.darren@hotmail.co.uk

    Many thanks,

    Darren.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    You'll need something to convert postcodes into GPS coordinates before you can calculate the great circle distance between the two. Such datasets do exist in the commercial arena but there is an interesting non-commercial exercise which might help.

    http://www.freethepostcode.org/

    If you look at Google Earth, there is a longtitude/latitude display of the cursor position in the bottom left hand corner of the map. If this information was transcribed in a spreadsheet, a formula could be written which calculates the distance.

  3. #3
    Registered User
    Join Date
    04-17-2008
    Location
    Yorkshire
    Posts
    79
    I'm not sure on copyright issues, but can the distance between two points not be determined by the OS reference?

    The reason I quote that specifically is that streetmap use this as part of their address bar when you search for a postcode.

    I.e do a postcode search on there for : LE13 0NP

    Would give as part of the results address: x=474892&y=319532
    (easily extracted through vba I would have thought)

    I've found some javascript code on a site LINK that will then tell you the distance and bearing between two sets of OS x y coordinates as above. Apologies if posting links is frowned upon, but I'm sure someone here could easily convert the java to vba for an excel file... and bob would be your preverbial aunties spouse.

    In fact its much simpler than that, the distance in metres is simply SQRT(SumSq(Xa+Xb),(Ya+Yb)).

    Therefore where (my previous two work places):
    Postcode LE13 0PN ===> X = 474892 Y = 319532
    Postcode BD13 1PL ===> X = 409907 Y = 430581



    Distance = 1159973.613 (I presume to a precision of 0.1m) equiv 116 Km

    Which seems ridiculous short but I suppose it is as the crow flies.
    Last edited by mikeyfear; 06-13-2008 at 06:47 PM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    If those are linear units, then the distance between them is

    =SQRT(SUMSQ(x1 - x2, y1 - y2) )

  5. #5
    Registered User
    Join Date
    04-17-2008
    Location
    Yorkshire
    Posts
    79
    Of course! Ooops. The change in x and change in y forms the triangle where the distance between them is what you're calculating.

    Incidentally, a list of postcodes and OS coordinates to XX11 precision is freely available online with a quick search on google.

  6. #6
    Registered User
    Join Date
    06-10-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: UK Postcode Distance Calculator

    You can use a service like http://postcoder.tenfourzero.net to get the distance for you using DATA from the menu in Excel and then IMPORT EXTERNAL DATA.

  7. #7
    Registered User
    Join Date
    05-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: UK Postcode Distance Calculator

    Have a look at postcode.org.uk because i also used this tool or service to calculate the distance through postcode in uk but I don't know much more about this tool. you can try this one and then tell me Is it helpful for you or not??
    _____________________________________

    Distance Calculator

  8. #8
    Registered User
    Join Date
    08-10-2011
    Location
    india
    MS-Off Ver
    ms office 2007
    Posts
    3

    Re: UK Postcode Distance Calculator

    The online postcode to postcode distance calculator allows you to enter two postcodes and after clicking the 'Calculate Distance' button the Online Postcode to PostCode Travel Distance Calculator will calaculate... wait for it... the distance between the two postcodes you entered! The distance between the postcodes will be shown in kilometres (km) and miles (mi). Additionally that the calculated post code to postcode distance is measured both 'as the crow flies' between the two postcode


    distance calculator

  9. #9
    Registered User
    Join Date
    08-10-2011
    Location
    india
    MS-Off Ver
    ms office 2007
    Posts
    3

    Re: UK Postcode Distance Calculator

    Postcode distance calculator is used to calculate the distance between two postcodes..This calculator is very helpful....


    distance calculator

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: UK Postcode Distance Calculator

    ummm... you already said so a week ago.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  11. #11
    manmade1234
    Guest

    Re: UK Postcode Distance Calculator

    Do you know how simple is it to calculate distance online:
    Check for online 'Postcode distance calculator UK' in goole, it will help you to get exact solution.
    postcode.org.uk
    It is working in all over Europe and is expanding its services

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1