+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : VBA script needed?

  1. #1
    Registered User
    Join Date
    05-04-2011
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    3

    VBA script needed?

    Hello,

    I've had this issue and have not found a way around it.

    The programs I have available to me are excel 2007 and msaccess 2003.

    I have a spreadsheet, it contains postcodes in column A; city region in column B; in column C there is another set of postcodes; column D is empty

    The data in column A and B are matching the postcodes to the city region. I need to have a lookup so that column C can find it's match in column A, then the corresponding city region in column B needs to be placed in column D, next to the postcode in column C that matched.

    Is there a way to do this without VBA?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VBA script needed?

    Hi,

    Almost certainly, but you'd be better advised to upload an example workbook so that we can see the request in context. Add some examples so that we can see the results you expect.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-04-2011
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: VBA script needed?

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Almost certainly, but you'd be better advised to upload an example workbook so that we can see the request in context. Add some examples so that we can see the results you expect.

    Regards
    Attached thanks.

    By the way, using VBA is a problem which is why I haven't gone this way. I'm not sure if there's a solution using msaccess or excel 07 but if there is I am willing to throw a couple of $ your way for your help.

    Attached Files Attached Files
    Last edited by mapu; 05-11-2011 at 12:18 AM.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VBA script needed?

    Hi,

    In D2 copied down
    Please Login or Register  to view this content.
    if you have Excel 2007 or later this can be simplified to
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-04-2011
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: VBA script needed?

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    In D2 copied down
    Please Login or Register  to view this content.
    if you have Excel 2007 or later this can be simplified to
    Please Login or Register  to view this content.
    I can't express how happy I am to have found such a simple solution.

    You're amazing thank you so much!

+ 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