> In this case Biff has used 0 as the third parameter in the MATCH
> function, so the array does not need to be sorted as it is looking for
[quoted text clipped - 33 lines]
>
> > - Show quoted text -
OK, I have it working, but not fully.
If I use this formula: =INDEX('2008'!$B$1:$J$1,MATCH(A4,'2008'!$B$2:$J
$2,0)) it works.
But, my array is more than one row high, I need to do something like
this:
=INDEX('2008'!$B$1:$J$1,MATCH(A4,'2008'!$B$2:$J$11,0))
Which of course, doesn't work. Thoughts?
T. Valko - 12 Mar 2008 18:31 GMT
Try this array formula** :
=INDEX(B1:J1,MATCH(MIN(IF(B2:J11=A4,COLUMN(B1:J1)-1)),COLUMN(B1:J1)-1,0))
If there are multiple matches of A4 within B2:J11 the formula will return
the header that corresponds to the *first* match from left to right.
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Signature
Biff
Microsoft Excel MVP
>> In this case Biff has used 0 as the third parameter in the MATCH
>> function, so the array does not need to be sorted as it is looking for
[quoted text clipped - 49 lines]
>
> Which of course, doesn't work. Thoughts?