I am confused. Your description of what you want does not match my understanding of how you used the
xor in your formula
my guess is that you want it to turn red even if either or both are < currentdate.
I also am guessing that extenddate is often null.
This would explain why using default values for nulls would 'make it worse'.
I am guessing that if you have an extenddate value that it supercedes the duedate so if it is < today it is late. If it is null tehn you ned to ignore it and only check if the duedate is <today.
ios this an accurate description?
Edited by DBlank - 25 Mar 2013 at 10:24am