I assume you currently have:
=IF(B10,B1,A1)
Change it to:
=IF(AND(B10,B1<"Leave"),B1,A1)
--
Cutter
------------------------------------------------------------------------
Cutter's Profile:
http://www.excelforum.com/member.php...fo&userid=9848
View this thread:
http://www.excelforum.com/showthread...hreadid=491687