I am trying to create a gantt chart in excel using conditional formatting. For some reason, my formulas don't work for every event. I have two colors: dashed gray for uncompleted tasks, and red for completed tasks. The formula for the uncompleted tasks is:
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'}</style>=AND(F$4>=$C8,F$4<=$D8)
The completed tasks: <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'}</style>=AND($C8<=F$4,$D8>=F$4,$E8=1)
The chart date is F$4 (in red, because this row will be hidden); the start date is $C8 and end date is $D8. You can see that these formulas don't work for tasks 1.2.3 and 1.2.4. Can you help me understand why?
I tried to insert a picture but couldn't, so here is the link:
https://photos.app.goo.gl/HLkW2wJSF2xYcD3i9
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'}</style>=AND(F$4>=$C8,F$4<=$D8)
The completed tasks: <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'}</style>=AND($C8<=F$4,$D8>=F$4,$E8=1)
The chart date is F$4 (in red, because this row will be hidden); the start date is $C8 and end date is $D8. You can see that these formulas don't work for tasks 1.2.3 and 1.2.4. Can you help me understand why?
I tried to insert a picture but couldn't, so here is the link: