You need to specify a minimum value in your formula as follows:
=day(min(today(),date(2006,5,31))
--
CaptainQuattro
------------------------------------------------------------------------
CaptainQuattro's Profile:
http://www.excelforum.com/member.php...o&userid=32763
View this thread:
http://www.excelforum.com/showthread...hreadid=539166