date - Conditional formatting with date in formula
问题描述
I want a cell to be colored if the present day is equal to a date I wrote into a formula.
So I created conditional formatting with this special formula, for the F8 cell for instance:
TODAY()=DATE(2020,4,3)
Color green in the background
It doesn't work. And I really don't know why...
Any idea ?
解决方案
在条件格式中选择自定义公式并将其输入到字段中:
=TODAY()=DATE(2020, 4, 3)
或者如果您有非美国语言环境:
=TODAY()=DATE(2020; 4; 3)
推荐阅读
- python - Python:为什么我的 google webscraping code 使用 beautifulsoup 没有返回搜索结果?
- java - Java 编译器没有事先检查 IF ELSE 条件(或者至少我认为这是正在发生的事情......)
- azure-web-app-service - 使用 Azure CLI 和 Keyvault 将 SSL 证书绑定到应用服务
- python - 我为 SQLalchemy declarative_base 使用什么类型?
- ruby-on-rails - Destroy 方法在 Ruby on Rails 5.2 中不要求确认
- java - 如何使用 java 在 azure 中获取应用程序的特定密码凭据结束日期
- wordpress - 如果帖子类型在自定义分类术语中,则隐藏 DIV
- python - 如何使用 rawpy 对原始图像进行后处理,使其与相机中的 ISP 等默认输出具有相同的效果?
- java - Mockito 嘲笑 void 方法
- wordpress - Woocommerce - 税收可选