Using Defined Names

Mr Nick

Board Regular
Joined
Mar 11, 2002
Messages
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
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
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
 
Upvote 0
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!!
 
Upvote 0

Forum statistics

Threads
1,213,562
Messages
6,114,322
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top