View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dean Hinson[_3_] Dean Hinson[_3_] is offline
external usenet poster
 
Posts: 35
Default MATCH, INDEX and VLOOKUP with Arrays

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.