Try the following...
B1:
=INDEX(Sheet2!A1:F1,MIN(IF(Sheet2!A2:F5=A1,COLUMN( Sheet2!A2:F5)-COLUMN(Sheet2!A2)+1)))
B2:
=OFFSET(INDIRECT("Sheet2!"&ADDRESS(MIN(IF(Sheet2!A 2:F5=A1,ROW(Sheet2!A2:F5))),MIN(IF(Sheet2!A2:F5=A1 ,COLUMN(Sheet2!A2:F5))))),0,1)
Both these formulas need to confirmed with CONTROL+SHIFT+ENTER, not
just ENTER.
Hope this helps!
--
Domenic
------------------------------------------------------------------------
Domenic's Profile:
http://www.excelforum.com/member.php...o&userid=10785
View this thread:
http://www.excelforum.com/showthread...hreadid=374639