G
Guest
Ok now I'm confused... With Support from this forum, I was able to use
VLOOKUP with 2-Dimensional arrays using Variants and ReDims. I thought this
would also work with INDEX and MATCH functions of Excel. However, I keep
getting the error 2042 which I believe means that the values was not found
(equivalent for false in VLOOKUP). However, I was able to find the value in
the array manually and the array is sorted by the first column. The search
value is in a variant variable and the 2-Dimensional array is a variant redim
to (1 to 500 , 2).
Does the INDEX, MATCH function not work with 2-Dimensional arrays? Please
any help is appreciated.
Dean.
VLOOKUP with 2-Dimensional arrays using Variants and ReDims. I thought this
would also work with INDEX and MATCH functions of Excel. However, I keep
getting the error 2042 which I believe means that the values was not found
(equivalent for false in VLOOKUP). However, I was able to find the value in
the array manually and the array is sorted by the first column. The search
value is in a variant variable and the 2-Dimensional array is a variant redim
to (1 to 500 , 2).
Does the INDEX, MATCH function not work with 2-Dimensional arrays? Please
any help is appreciated.
Dean.