With the start and end dates in A1 and B1,
Try this revised formula in C1 (array-entered as before):
=IF(OR(A1="",B1=""),"",MIN(IF((A2:A100=A1)*(A2:A1 00<=B1),B2:B100)))
Adapt the ranges to suit ..
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"StevenL" wrote in message
...
Max, I left one thing out... there are two cells for the user to set
criteria. A "Start" and "End" date.
A2:A100=A1
and
A2:A100<=B1
Don't suppose you have a solution? (thought I'd be able to sort this out
myself)
Rgds, Steven
|