Forum Discussion
clh_1496
Aug 02, 2023Brass Contributor
Conditional Formatting for Quarters & Years
Hi all, I had a spreadsheet that had months along the top and used conditional formatting to colour in the cells between the start and finish date using the formula: =AND($C5<=E$2,$D5>=E$2) and i...
- Aug 02, 2023
I'd use a slightly different setup.
You can then use the original formula in the conditional formatting rule:
SergeiBaklan
Aug 02, 2023Diamond Contributor
Rule formula could be
=( (LOOKUP(9999,$G$3:G$3)*10+G$2) >= ($C13*10+$E13))*( (LOOKUP(9999,$G$3:G$3)*10+G$2) <= ($D13*10+$F13))
which gives