Hi. I'm having issues with a formula and I can't figure out how to fix it. I have the formula =IF(AND(R$2>=$C4,R$2<=$D4),1,0) in R4. What I would like to happen is to enter a start date and end date in Columns C & D and have the applicable columns to follow highlight using conditional formatting. The formula is partially working. The issue is that if the Start Date (Column C) isn't exactly what the date is in Row 2 then that box won't highlight. For instance, right now R4 is currently highlighted because the start date is 4/30. If I were to change that start date to 5/1 then the box would un-highlight.
My understanding of the formula is "if R2 (4/30) is after or the same day as C4 (Start Date 4/30) AND R2 (4/30) is before or the same day as D4 (End Date 5/1) then the field's value is 1 which then triggers my conditional formatting to highlight it. How do I revise this formula so that that R4 would stay highlighted if any date between 4/30 and 5/6 is in the start date field? Thanks in advance for the assistance!
My understanding of the formula is "if R2 (4/30) is after or the same day as C4 (Start Date 4/30) AND R2 (4/30) is before or the same day as D4 (End Date 5/1) then the field's value is 1 which then triggers my conditional formatting to highlight it. How do I revise this formula so that that R4 would stay highlighted if any date between 4/30 and 5/6 is in the start date field? Thanks in advance for the assistance!