+ Reply to Thread
Results 1 to 6 of 6

Howto: Vlookup looping (for each...next?). Advise needed about Vlookup loop technique

  1. #1
    Registered User
    Join Date
    03-19-2009
    Location
    Arnhem, Holland
    MS-Off Ver
    Excel 2003
    Posts
    35

    Howto: Vlookup looping (for each...next?). Advise needed about Vlookup loop technique

    Hello, I have a slight problem.
    I have data in a pivottable which I want to compare with another table.

    The lastcolumn+1 of the pivottable needs to get data from another table.

    I have this for an example:

    Please Login or Register  to view this content.
    Can anybody give me leads on how to solve this?

    Would be appreciated!!


    BONUS:
    I defined my Lastcolumn succesfully:

    Please Login or Register  to view this content.
    Last edited by Wino; 07-29-2009 at 07:53 AM. Reason: clear up some things / typo

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Vlookup looping (for each...next?)

    Your thread title bears no resemblance to the problem
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    03-19-2009
    Location
    Arnhem, Holland
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Howto: Vlookup looping (for each...next?). Advise needed about Vlookup loop techn

    Thread title edited. Thx for the reply, hope this will lead to a couple of advises.

  4. #4
    Registered User
    Join Date
    03-19-2009
    Location
    Arnhem, Holland
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Howto: Vlookup looping (for each...next?). Advise needed about Vlookup loop techn

    Maybe to make the problem more easy to understand:

    How to make this code work with dynamic ranges?

    Please Login or Register  to view this content.
    And: "LookFor" as well as "rng" needs to be dynamic....
    Last edited by Wino; 07-24-2009 at 08:03 AM. Reason: to be more specific...

  5. #5
    Registered User
    Join Date
    03-19-2009
    Location
    Arnhem, Holland
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Howto: Vlookup looping (for each...next?). Advise needed about Vlookup loop techn

    Nobody got any usefull input?
    Still haven't got this working.
    Last edited by Wino; 07-27-2009 at 05:46 AM. Reason: dumb typo

  6. #6
    Registered User
    Join Date
    03-19-2009
    Location
    Arnhem, Holland
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Howto: Vlookup looping (for each...next?). Advise needed about Vlookup loop techn

    Ok, let me give the final solution.
    Looping is not necessary it seems.

    anyway, solution is this code:

    Please Login or Register  to view this content.

+ 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