+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : How do you get a vlookup formula to look at named range in a cell

  1. #1
    Registered User
    Join Date
    04-18-2011
    Location
    west midlands
    MS-Off Ver
    Excel 2007
    Posts
    2

    How do you get a vlookup formula to look at named range in a cell

    Hi

    In desperate need of help, I have several tables in a work sheet which consist of about 4 columns, each table I have a separate named range. In another worksheet I want to compare two sets of data. I want to do this by picking the named range of the two tables and then the data to feed through. I started to do this by a vlookup. The vlookup works if I type in the named range in the table array part of the formula. But it does not work if I refer the table array to a cell which has the name of the named range in it. Does anyone know why this is and how I can overcome this problem. It’s driving me crazy I just want to finish this report now.

    Someone help me!!!!

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,446

    Re: How do you get a vlookup formula to look at named range in a cell

    Hi,

    Use the indirect function to point to the cell containing the named range

    eg,

    =VLOOKUP(6,INDIRECT(F1),2)
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    04-18-2011
    Location
    west midlands
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How do you get a vlookup formula to look at named range in a cell

    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