+ Reply to Thread
Results 1 to 5 of 5

Need to have Vlookup to pull the result of a cell instead of the formula in it

Hybrid View

  1. #1
    Registered User
    Join Date
    01-29-2007
    Posts
    69

    Need to have Vlookup to pull the result of a cell instead of the formula in it

    I am having a problem with Vlookup.

    In this case cell J78 reads ='table of contents'!f20
    In cell E72 i have a vlookup formula that looks at J78 and then looks in a range of i70:j71 and inputs the value from column 2 into cell e72.

    So i am guessing that since i am getting a #n/a it means vlookup is reading the formula instead of the result in j78.
    Is there a way to fix it?

    Thanks
    Last edited by JESSIER4025; 02-02-2012 at 09:58 AM. Reason: formula edit

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need to have Vlookup to pull the result of a cell instead of the formula in it

    Check that 'table of contents'!f20 exactly matches the text that is in I70:I71. There should be no extra spaces, chars...

    and that you included a FALSE 4th argument in your VLOOKUP for exact matching.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Need to have Vlookup to pull the result of a cell instead of the formula in it

    Hardly seems worth using VLOOKUP if your table is only i70:j71 - a couple of IFs would do, and you can check for absent values:

    =IF(J78=I$70,J$70,IF(J78=I$71,J$71,"not present"))

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    01-29-2007
    Posts
    69

    Re: Need to have Vlookup to pull the result of a cell instead of the formula in it

    awesome!! that was it. i left off part of it.
    thanks!!

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need to have Vlookup to pull the result of a cell instead of the formula in it

    You're welcome

+ 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