Google表格有条件的格式,以及不同的日期

发布于 2025-01-24 16:11:11 字数 678 浏览 0 评论 0 原文

在Google表中,我想通过将其日期值与另一个单元格进行比较,以自动格式化一个细胞区域。实际上,我有一些代表一个月的单元格(要格式化的细胞区域)和一个带有另一个日期的单元(05.05.2022格式为05.05。请参见屏幕截图)。

“

因此家庭作业的日期位于u6,5月的蛾子区域为k11:q16。当我将条件格式设置为

应用于范围:k11:q16

日期是:精确日期:= u6 自定义公式为:= u6

它不起作用。但是,当我将范围设置为N12(05.05.2022格式为5)时,它确实有效。

有什么想法吗?

提前致谢。

编辑: 我创建了一个单独的表用于共享,因此这不适合屏幕截图:

in Google Sheets I'd like to format an area of cells automatically by comparing its date value to another cell. In fact, I have some cells representing a month (the area of cells to be formatted) and a single cell with another date (05.05.2022 formatted as 05.05. see screenshot).

screenshot

So date for homework is located in U6 and cell area for moth of may is K11:Q16. When I set conditional formatting to

apply to range: K11:Q16

and

Date is: exact date: =U6 or custom formula is: =U6

it does not work. But when I set range to N12 (05.05.2022 formatted as 5) it does work.

Any ideas?

Thanks in advance.

edit:
I created a separate sheet for sharing, so this does not fit to the screenshot:
https://docs.google.com/spreadsheets/d/1gBx3dbzxk3Qb999uo3YMdz0A9-ViSE4xPeihhasN7FQ/edit?usp=sharing

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

破晓 2025-01-31 16:11:11

尝试这样:

=COUNTIF($I$2:$I$5; D11)

或:

=MATCH(D11; $I$2:$I$5; )

”在此处输入图像描述”

try like this:

=COUNTIF($I$2:$I$5; D11)

or:

=MATCH(D11; $I$2:$I$5; )

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文