Hi Andi,
If you sort the data in ascending order with the key Date_Val,
try this,
=LOOKUP(2,1/(A2:A30=D1),B2:B30)
where D1 houses the file name
HTH
--
Krishnakumar
------------------------------------------------------------------------
Krishnakumar's Profile:
http://www.excelforum.com/member.php...o&userid=20138
View this thread:
http://www.excelforum.com/showthread...hreadid=398515