简体   繁体   中英

Highlight a date range if it contains today's date

I have start dates in column N, and end dates in column O - is there any way I can highlight them if the range contains the current date?

eg if today's date in 08/05/2019, the start date is 06/05/2019 in N, and end date is 12/05/2019 in O it should highlight.

Do as follow:

Sample data:

在此处输入图片说明

Select column N:O and add new conditional formatting rule, use a formula:

=AND(TODAY()>=$O1,TODAY()<=$P1)

Choose your fill and click OK.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM