Thanks guys!

TMS's solution works fine for me.
Though I only use the "=AND(D>=C, C>0)". Not sure what does "C<>" do.

Thanks Fotis too, though I don't need to upload a sample I guess. Will start a new thread if something happens again.