+ Reply to Thread
Results 1 to 5 of 5

Postcode to Postcode Distance re-visited

  1. #1
    Registered User
    Join Date
    01-26-2023
    Location
    London, England
    MS-Off Ver
    365
    Posts
    4

    Postcode to Postcode Distance re-visited

    Hi all,

    Hoping you can help, I've done a lot of searching and can't quite find what I'm looking for.

    I want to have 2 columns full of postcodes A & B, and column C to be distance between postcode in column A and postcode in column B using the driving distance.

    I have a bing maps API key I want to use.

    Can anyone suggest a simple macro that I could use so I populate columns A & B, click run and Column C is populated.

    Do you know if there is a maximum per API call?

    Or better still, from latitude and longitude 1 to latitude longitude 2

    Thank you in advance.
    Last edited by PhilD2GB; 02-15-2024 at 11:02 AM.

  2. #2
    Registered User
    Join Date
    01-26-2023
    Location
    London, England
    MS-Off Ver
    365
    Posts
    4

    Re: Postcode to Postcode Distance re-visited

    As I need the postcode to postcode to each of them, possibly having a list in column A and the same list in row 1, then every cell between would be the distance between each one .

    Postcode.png
    Last edited by PhilD2GB; 02-15-2024 at 11:32 AM.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,687

    Re: Postcode to Postcode Distance re-visited

    See if this helps: https://chandoo.org/wp/distance-betw...xcel-maps-api/
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    257

    Re: Postcode to Postcode Distance re-visited

    Hi Phil,

    As I don't have access to the Bing Maps API, I used a free alternative. Hopes this helps!

    Usage:
    =GetDistance(A1,B1)

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-26-2023
    Location
    London, England
    MS-Off Ver
    365
    Posts
    4

    Re: Postcode to Postcode Distance re-visited

    Thanks both, great info.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Postcode check and return of value in column title and cell adjacent to postcode
    By BigTP in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2018, 05:04 AM
  2. Postcode to postcode distance checker
    By KerryLL1221 in forum Excel General
    Replies: 1
    Last Post: 02-21-2014, 09:42 AM
  3. Distance from Postcode
    By sitay1984 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 07:12 AM
  4. Distance from Postcode
    By sitay1984 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 06:12 AM
  5. [SOLVED] Help needed trimming full postcode address to postcode sector.
    By Mikey7346 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-10-2012, 05:11 PM
  6. UK Postcode Distance Calculator
    By darrenjohnson in forum Excel General
    Replies: 10
    Last Post: 12-08-2011, 04:35 AM
  7. UK postcode distance calculation?
    By Steve Hawkins in forum Excel General
    Replies: 9
    Last Post: 04-06-2006, 08:35 AM

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