In G8 try this.
=IF(AND(G6="",G7=""),"",IF(G7<G6,G7+1-G6,G7-G6))
Does that help?
Steve
--
SteveG
------------------------------------------------------------------------
SteveG's Profile:
http://www.excelforum.com/member.php...fo&userid=7571
View this thread:
http://www.excelforum.com/showthread...hreadid=499703