The obvious thing, to me, therefore, seems to be:
NOT stepping up through every cell until finding a match (your method)
pseudocode:
(slightly needer way round)
NOT looping a find on the range with a descending number until a match is found (a slightly better method worth mentioning for other situations)
pseudocode:
(the date is irrelevant once the find 'hits')
BUT simply using a built-in function, like lookup or match...
pseudocode:
In your example:
<-- SOrry, I went to the pub whilst half-way through writing this-->
In your example:
should return the row number of the next oldest date behind your expected date
...
or something liek that
It's hard to get it right without an example, probably be able to put proper conetxt if you uploaded an example.
hth
Bookmarks