Martin Wrote:
> Maybe a Conditional Format.
> Select L6:L34
> And apply CF with
> Formula is: =AND(L6<>"",L6<MAX($L$6:L6))
Hi Martin
I had considered using conditional formatting, but couldn't see how I could
use CF to bring up the alert message.
With CF I could highlight the non-chronological cell entry by changing the
font and/or background colour, but I can't see how to convey to the user
what the problem is. Even if I could use CF to change the text in the cell,
the cell isn't large enough to carry the alert message.
Maybe I have to use a helper column to check each L6:L34 entry, and then use
the helper column to initiate the alert message if a date is entered that is
not in chronological order.
Something like:
=IF(AND(L6<>"",L6<MAX($L$6:L6)),1,"") Copied through (say) cells Z6:Z34
Then, in the message alert cell:
=IF(SUM(Z6:Z34)>0,"ERROR - Dates are not in chronological order","")
It's rather a convoluted approach, and I haven't tested the formula yet to
prove it works, but the principle is there, hopefully.
Maybe there is a shorter route?

Signature
Mike
-Please remove 'safetycatch' from email address before firing off your
reply-