+ Reply to Thread
Results 1 to 5 of 5

Lookup giving #value error

  1. #1
    Registered User
    Join Date
    10-23-2018
    Location
    Antwerp
    MS-Off Ver
    Microsoft office standard 2013
    Posts
    21

    Lookup giving #value error

    Hello, I have an issue that I am not able to solve.

    The problem is I got a formula with a Lookup but I get all the time a #Value no matter what I try.

    The formula is this:

    =LOOKUP(2,1/("'"&A27&"'!I:I<>"""),"'"&A27&"'!I:I")


    My formula comes from this one : =LOOKUP(2,1/(A:A<>""),A:A)
    Where I ry to get the last value in a column.

    The "'"&A27&"'! is a dropdown-list created by the sheet names that exists. I:I<>"" should find the value of the last non-empty cell in the column.


    But its not working. do you guys have a solution to it?

    Thanks in advance

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Lookup giving #value error

    .
    You can post your workbook for review.

    Before doing that ... look at the quote symbols within the formula ... something doesn't look right but I could be wrong.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Lookup giving #value error

    Maybe try

    =LOOKUP(2,1/(INDIRECT("'"&A27&"'!I:I")<>""),INDIRECT("'"&A27&"'!I:I"))

  4. #4
    Registered User
    Join Date
    10-23-2018
    Location
    Antwerp
    MS-Off Ver
    Microsoft office standard 2013
    Posts
    21

    Re: Lookup giving #value error

    Hello everyone,

    Here is the File. The Sheet name is called VO4 DRAFT in the Cell G12.

    Br
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-23-2018
    Location
    Antwerp
    MS-Off Ver
    Microsoft office standard 2013
    Posts
    21

    Re: Lookup giving #value error

    Thanks thats it Bo_Ry!!

    I cant believe I missed to put the indirect again in the end.

    Thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. LOOKUP funciion giving an error
    By Mike K in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  2. [SOLVED] LOOKUP funciion giving an error
    By Biff in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 06:05 AM
  3. LOOKUP funciion giving an error
    By Biff in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  4. [SOLVED] LOOKUP funciion giving an error
    By Mike K in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  5. LOOKUP funciion giving an error
    By Mike K in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  6. [SOLVED] LOOKUP funciion giving an error
    By Mike K in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] LOOKUP funciion giving an error
    By Mike K in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] LOOKUP funciion giving an error
    By Mike K in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-20-2005, 01:05 AM

Tags for this Thread

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