I am trying to use the INDEX function to search an array for a value. However I would like that array range to be variable. However when I use the Address function to try and specify the range, I get an #value! error. For instance:
=INDEX($A$1:$B$2,1,2) Returns the value I want.
=ADDRESS(1,1,1,TRUE)&":"&ADDRESS(2,2,TRUE) Returns $A$1:$B$2
However =INDEX(ADDRESS(1,1,1,TRUE)&":"&ADDRESS(2,2,TRUE),1,2) returns #VALUE!
Any help is appreciated. This excel sheet is going to be in the hands of someone else so I'm trying to avoid using macros.


ADDRESS.