Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Using Defined Names

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Is it possible to use a defined name to reference a tab on a worksheet like in the example below where I have used the name "ValidTAB"

    =IF(ISNA(VLOOKUP(T12,'[VD.xls]ValidTAB'!$A$1:$R$957,2,FALSE))

    If it is indeed possible, how do I format the reference to this defined name?
    defined name

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Leiden, The Netherlands
    Posts
    68
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I think it should be possible using the Indirect function. Your function would look like this:

    =IF(ISNA(VLOOKUP(T12,INDIRECT("'[VD.xls]'"&A1&"'!$A$1:$R$957"),2,FALSE))

    where A1 would have the value ValidTAB.

    Marc

  3. #3
    Board Regular
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have tried this method and get a #REF! value returned to the cell.

    I'm getting a bit fed up now and think I may resign!!

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
  •