Ron
Both your and Bob's solutions are much neater than my long winded effort.
--
Regards
Roger Govier
"Ron Coderre"
wrote in message
...
Try this:
=DAY(EOMONTH(B1,0))
Note: If the EOMONTH() function is not available, and returns the
#NAME? error,
ToolsAdd-ins...Select Analysis ToolPak...Then click [OK]
Does that help?
Ron
--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile:
http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=391281