When you use a Boolean formula (a formula that returns TRUE or FALSE), Excel
returns those values. Their numeric equivalents are 1 and 0, respectively.
BUT...to coerce the conversion from Boolean to Numeric, you need to apply an
arithmetic operator. The generally accepted convention is to use a double
minus sign (--). Knowledgable Excel users immediately recognize the purpose
of -- in a formula.
Try this:
=--IF($D6>=AprStart,$D6<=AprEnd)
OR..this works too:
=--OR($D6>=AprStart,$D6<=AprEnd)
Does that help?
***********
Regards,
Ron
XL2002, WinXP