T. Valko-
Thank you so much. This is working. I have a change. Instead of "closest"
date I need the closest date but not greater than. I modified my example a
bit to explain.
>I need the closest date but not greater than.
If there is no date that meets the condition then the formula will return a
#N/A error.
Try this array formula** :
=INDEX(C$2:C$5,MATCH(1,--(B$2:B$5=MAX(IF((A$2:A$5=E2)*(B$2:B$5<D2),B$2:B$5))),0))
Copy down as needed
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Signature
Biff
Microsoft Excel MVP
> T. Valko-
> Thank you so much. This is working. I have a change. Instead of
[quoted text clipped - 25 lines]
>> >> > return value in column C. So in this case f2=60 and f3=50.
>> >> > THANKS!