+ Reply to Thread
Results 1 to 3 of 3

vlookup with variable column

  1. #1
    Registered User
    Join Date
    04-13-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    2010
    Posts
    48

    vlookup with variable column

    I am trying to setup a vlookup where the column to return the result from is variable based on a pivot table update.

    For example in the attached spreadsheet I have highlighted the vlookup formula used to pull data from the Data page, however based on product being added to the Data report the pre-cedes the one highlighted the current formula would return incorrect values

    Any help would be appreciated

    thanks
    Attached Files Attached Files
    Last edited by dperry; 08-15-2011 at 09:42 PM.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: vlookup with variable column

    Try the following formula and fill down:

    Please Login or Register  to view this content.
    When you change the lookup in cell B2, it will search for the column containing that part name.

  3. #3
    Registered User
    Join Date
    04-13-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    2010
    Posts
    48

    Re: vlookup with variable column

    Awesome! thanks a lot

+ 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