+ Reply to Thread
Results 1 to 6 of 6

vlookup question using values within a cell

  1. #1
    Registered User
    Join Date
    06-06-2005
    Location
    Minnesota, USA
    MS-Off Ver
    2016
    Posts
    18

    vlookup question using values within a cell

    I have an excel sheet that I am attaching to this question.

    I am trying to find the value in a named range (the named range is listed in cell H1) and the column I am looking for is named in cell L1. My first attempt at the vlookup formula is as follows:

    =VLOOKUP(I2,VALUE(H2),VALUE(L2),FALSE)
    Last edited by Chrisnelsonusa; 01-02-2009 at 06:32 PM.

  2. #2
    Registered User
    Join Date
    06-06-2005
    Location
    Minnesota, USA
    MS-Off Ver
    2016
    Posts
    18

    new attempt at the example

    I want a vlookup of :=VLOOKUP(I2,H2,L2,FALSE)

    What I know works is:
    =VLOOKUP(I2,EWR,L2,FALSE) - but I have 97 different ranges and I did not want to put them in each equation.
    Attached Files Attached Files

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Your spreadsheet doesn't give much of a hint of what you're trying to do; There's no VLOOKUP formula and no named ranges.

    Maybe =VLOOKUP(I2, INDIRECT(H2), L2, FALSE)
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    06-06-2005
    Location
    Minnesota, USA
    MS-Off Ver
    2016
    Posts
    18

    It worked

    Thanks for the reply. I know that I was poor in describing what I needed, but it turned out to be the "Indirect" command.

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  6. #6
    Registered User
    Join Date
    06-06-2005
    Location
    Minnesota, USA
    MS-Off Ver
    2016
    Posts
    18

    Got it thanks!

    Did not know about the "solved" function, thanks for the alert.

+ 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