简体   繁体   中英

Conditional formatting if date is before today AND adjacent cell is empty

Let's say I have dates in cell G1:G999 and H1:H99. I am trying to establish conditional formatting for column G to highlight the cells with dates that are prior to today AND the adjacent cell in row H is empty. I was wondering if this can be done in this sort of combination.

Thanks all!

Use the formula:

=AND($G1<TODAY(),$H1="")

and apply to range (adjust as necessary to your last row)

=$G$1:$G$999

在此处输入图片说明

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