Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: vlookup - again

  1. #11
    New Member
    Join Date
    Apr 2002
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    they are all on the same sheet

    I tried =OFFSET(INDIRECT(b17),,1) and got #REF!

  2. #12
    New Member
    Join Date
    Apr 2002
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try

    =OFFSET(INDIRECT(TRIM(B17)),,1)

    you must have a space or something in B17 as well as a43,
    if B17 contains a cell address then the above formula will return whatever is the
    first cell to the right of that cell address.. The only way it can return a ref error is if it is not a cell reference.

    Regards,

    Peo Sjoblom

  3. #13
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    84,035
    Post Thanks / Like
    Mentioned
    37 Post(s)
    Tagged
    7 Thread(s)

    Default


    On 2002-04-07 15:19, gumby wrote:
    they are all on the same sheet


    That's the trouble.

    You should actually get #N/A and a circular reference problem.

    You have =A43 in B17.

    A43 is part of the range $A$40:$B$49 that is your lookup table as can be seen from your formula:

    =VLOOKUP(B17,$A$40:$B$49,2,FALSE)

    and you stated to have this formula in

    B43

    which is also a part of the range $A$40:$B$49 which is your lookup table.

    It boils down to: VLOOKUP is forced to retrieve the result that it must self compute/retrieve.

    What now?

    It would be better if you could explain what you are trying to do.

    Aladin

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •