0

Working with Google Sheets, I'm currently making a year schedule. The sheet should be recycled every year.

  • Column A has several dates.
  • D2 is the year, e.g. 2015, 2016 or 2017.

I'm trying to apply conditional formatting to column A. Every month to get its own colour. January coldblue, February blue, March little bit green, et cetera.

The easy way is to use date before .., like 'date before 1-2-2015' for January. But then, the conditional formatting should be altered every year.

How can I use custom formulae (in conditional formatting) using the year from D2 + before start of the next month?

4

1 回答 1

0

我不会推荐许多不同的颜色(如果只是因为第一种颜色之后的每种颜色都需要单独的规则!)并且并没有真正看到 CF 的 D2 点 - 除非您计划为每种颜色设置单独的 12 种颜色年?但是,我认为您要求的是过多的公式,例如:

=and(year(A1)=D$2,month(A1)=1) 

1以整数步的最后一次更改一直重复到12,每个这样的值使用不同的颜色。

于 2014-12-29T17:51:30.923 回答