if the cell contains the word leave then display a1.
sorry forgot that bit
andrew
--
koba
------------------------------------------------------------------------
koba's Profile:
http://www.excelforum.com/member.php...o&userid=28639
View this thread:
http://www.excelforum.com/showthread...hreadid=491687