Closed Thread
Results 1 to 4 of 4

VLOOKUP syntax for a both whole and part postcodes

  1. #1
    Registered User
    Join Date
    08-28-2009
    Location
    Beds
    MS-Off Ver
    Excel 2007
    Posts
    8

    VLOOKUP syntax for a both whole and part postcodes

    Hi

    I need to create a mailing list to produce labels

    The data is automatically launched in Excel from a website which lists names and addresses in columns.

    I then need to write some sort of query to lookup part or all of the postcode and match them to a distributor. Some of the distributors cover a whole postcode (like EG2) and some only cover a street so I have to be able to write in some kind of, if "whole postcode" isn't in the list then match "part postcode"

    Now I'm a little torn between excel and access, but I'm thinking excel at the moment because I was going to use a vlookup.

    I'm a little confused as to how I can do the part/whole postcode element though, what is the syntax for a query of that kind?

    More importantly, how can I make it "idiot proof" so I can give this to anyone to do? Macros perhaps?

    thanks
    Tash
    Last edited by NatashaBatsford; 04-27-2010 at 09:24 AM.

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

    Re: I think I need Excel - advice needed

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    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.

  3. #3
    Registered User
    Join Date
    08-28-2009
    Location
    Beds
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: VLOOKUP syntax for a both whole and part postcodes

    Sorry about that, I've changed it now.

    I would really appreciate some help here, this is for a charity who don't have funds to pay for someone to sort this out.

  4. #4
    Registered User
    Join Date
    08-28-2009
    Location
    Beds
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: VLOOKUP syntax for a both whole and part postcodes

    Hi please remove this thread as I'm going to try and do this work in Access instead and will move the question to the Access forum

Closed 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