简体   繁体   English

如何检查带有数字的单元格是否等于其他单元格上的日期?

[英]How do I check if a cell with a number equals to the day on a date on other cell?

Basically, I'm doing a calendar with school assignments with dates.基本上,我正在做一个带有日期的学校作业的日历。

I made a mini calendar on the left side (one day for each cell) and on the right side I have a list of assignments and the corresponding delivery dates.我在左侧制作了一个迷你日历(每个单元格一天),在右侧我有一份作业清单和相应的交货日期。

I wanted to, each time I add a date to that list, the corresponding day on the mini calendar gets color-filled with Conditional Formatting.我想,每次我向该列表添加日期时,迷你日历上的相应日期都会用条件格式填充颜色。 How do I do that?我怎么做?

Printscreen打印屏幕打印屏幕

Please clear formatting from and select A6:G10, Format - Conditional formatting..., Custom formula is and:请清除格式并选择 A6:G10,格式 - 条件格式...,自定义公式是和:

=match(date(2018,3,A6),$I:$I,0) 

Select formatting of choice and Done .选择选择的格式和Done

I have assumed:我已经假设:

a) when days of the week cause numbers to 'head' for outside the range they will be wrapped back to the start of the range. a) 当一周中的几天导致数字“朝向”超出范围时,它们将被回绕到范围的开头。

b) you will replace 2018 and 3 to the relevant year/month, preferably via cell references. b) 您将20183替换为相关的年/月,最好通过单元格引用。

c) Your dates are true date indices. c) 您的日期是真实的日期索引。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何检查给定单元格是否包含任何数字? - How do I check if a given cell contains any number? 如何找到值不为空的行中的第一个单元格,并检查该数字是否小于或等于其他单元格中的数字 - How to find the first cell in a row where value is not empty and check if the number is less or equal the number in other cell 如何根据日期更改单元格的值 - How do I change the value of a cell based on the day 如何检查单元格中的日期是否为本周? 脚本不是工作表 function - How can I check if a date in a cell is this week? Script not sheet function 如果另一个单元格中的日期比今天的日期早7天,该如何修改单元格的内容? - How do I modify the contents of a cell, if the date in another cell is 7 days before todays date? 在Google表格中,如何检查给定的单元格在范围内? - In Google Sheets, how do I check that a given cell is within a range? 如何计算Google表格中特定单元格中的单词数? - How do I count the number of words in a specific cell in Google Sheets? 如果单元格值(日期名称)等于今天的条件格式 - Conditional formatting if cell value (name of day) equals today 在 Google 表格中,如何检查单元格 A(日期)是否在单元格 B 和 C 的日期范围内 - In Google Sheets, how to check if Cell A (Date) is within the Date range of Cell B and C 如何将单元格(日期共振峰)中的值与脚本中的今天日期进行比较 - How do I compare the value in a cell (date formant) to today's date in a script
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM