![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Location: Manchester, UK
Posts: 95
|
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 |
|
Board Regular
Join Date: Mar 2002
Location: Leiden, The Netherlands
Posts: 68
|
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 |
|
Board Regular
Join Date: Mar 2002
Location: Manchester, UK
Posts: 95
|
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!! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|