Google-sheets – How to colourise a range of cells based on a start & end date

google sheets

Can this be achieved by Google Sheets conditional formatting feature?

enter image description here

Best Answer

Just type in a function yielding a number for each cell colour you want to use, and set the text colour to none, like:

=($D14<=M$3)*(M$3<=$E14)

This will yield 1 if the date on line 3 is between those of columns D and E, and zero otherwise.