+ Reply to Thread
Results 1 to 7 of 7

Gathering list of postcodes within a radius ( Australia )

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    australia
    MS-Off Ver
    office 2013
    Posts
    3

    Gathering list of postcodes within a radius ( Australia )

    Hi,
    i would like to find a solution to get a list of postcodes within x km from a post code input number.

    Example, me inputting post code 3000 - Melbourne CBD will give me a list of post codes within lets say 5 km from 3000
    Attached Files Attached Files
    Last edited by laurentdes; 09-12-2022 at 07:30 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,216

    Re: Gathering list of postcodes within a radius ( Australia )

    Rather lacking in detail! See yellow banner at top the page on how to post a sample workbook.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    08-13-2014
    Location
    australia
    MS-Off Ver
    office 2013
    Posts
    3

    Re: Gathering list of postcodes within a radius ( Australia )

    Example attached with thanks

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    16,209

    Re: Gathering list of postcodes within a radius ( Australia )

    I'm not sure if I am missing something, but I don't see anywhere where you have a database of distances between the different post codes, nor any explanation of how one would calculate the distance between two post codes. Did I just miss it?

    Without going into programming details, yet, I would expect to solve a problem like this by:

    1) Choose postcode and radius.
    2) Calculate/lookup distance between chosen post code and all other postcodes of interest. Using the setup you currently have, this could be a formula in E adjacent to your list of potential results.
    3) Filter/extract those postcodes where distance is less than radius. Using the current setup, I would be tempted to simply setup an autofilter using columns D and E. Once postcode is chosen in D2, filter the list using column E where E is less than the desired radius.

    The key unknown right now is how to calculate distance between postcodes. Do you have a formula or database that can be used for this purpose?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Gathering list of postcodes within a radius ( Australia )

    Try this. I think the calculations are pretty close. I used a data base from the internet and downloaded it. The original database had sub post codes. ie there were post codes with the same suburbs but they had different long and lat coordinates which makes me think they were from a GIS database with sub post code regions. For simplicity I stripped this back to one post code. The distance is measured from thecentroid of the starting postcode to the centroid of all other postcodes and I had to use a macro to bring back the ones within the set radius (just press the button)
    Attached Files Attached Files
    Happy with my advice? Click on the * reputation button below

  6. #6
    Registered User
    Join Date
    08-13-2014
    Location
    australia
    MS-Off Ver
    office 2013
    Posts
    3

    Re: Gathering list of postcodes within a radius ( Australia )

    Fantastic - this is exactly what i was looking for . thx a lot

  7. #7
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Gathering list of postcodes within a radius ( Australia )

    It?s not perfect due to me slimming down many of the duplicate post codes and you need to understand some postcodes are enormous so you need to enter a large radius to get adjoins or nearby ones captured. You?ll be able to find other post code databases I assume so feel free to copy them over the respective columns in sheet 2 to improve on this.

+ 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. help me in finding X Y AND Radius
    By rockyking in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-05-2021, 04:56 AM
  2. Generate a list by gathering data from another sheet
    By inkdGenX in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-24-2020, 05:24 PM
  3. Match full postcode against list of partial postcodes
    By TheRobsterUK in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-06-2018, 06:14 AM
  4. gathering values based off critieria and in turn forming a list
    By exclusiveicon in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-27-2014, 10:44 AM
  5. [SOLVED] Gathering total amounts list of dates
    By avidcat in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2013, 01:24 PM
  6. [SOLVED] Display a UK Map from excel list Postcodes
    By Tonto in forum Excel General
    Replies: 1
    Last Post: 05-04-2006, 03:00 PM
  7. [SOLVED] How do I list postcodes in order in Excel?
    By jillysillybilly in forum Excel General
    Replies: 10
    Last Post: 01-08-2006, 02:20 PM

Tags for this Thread

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