+ Reply to Thread
Results 1 to 2 of 2

geographical regions

Hybrid View

  1. #1
    Registered User
    Join Date
    10-30-2006
    Posts
    4

    geographical regions

    hi

    i have a spreadsheet with user contacts in with a list of postcodes and want to split the postcodes into 6 regions

    so does anyone have any idea how i would go about doing this

    i want the regions to be
    London
    Scotland
    Midlands
    Wales
    North
    South east

    what i thought i would be able to do was to use vb to look at the first 2 characters in each cell in the postcode colomn and then depending on the first two characters place it in the respected region

    but i dont know how to go about coding this as i have not really used vb before.

    any help appreciated

    regards
    chris

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Take a look at this link, there are quite a few postcodes in each Region

    http://www.reallymoving.com/mqe2/htm..._by_region.htm

    With your postcodes in column A, you need to extract the first two digits with this in B1 and copy this formula down

    =LEFT(A1,2) you then need to set up your Shires & counties into Region and then use a Lookup table. Take a look here to get you started

    http://www.contextures.com/xlFunctions02.html

    If you need any help, let me know
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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