Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Format text/cells in whole row based on date in column A

I have a sheet where each row starts with the dates of each Sunday throughout the year. I want to change the formatting for all rows that are "past". I also want only the NEXT Sunday (based on the current date) to be formatted separately.

How might this be achieved?

like image 318
Dustin Groff Avatar asked Jan 14 '15 23:01

Dustin Groff


1 Answers

Please try : Format - Conditional formatting..., Custom formula is and:

=and($A1<today(),$A1<>"")  

with one formatting of your choice and:

=and($A1<today()+7,$A1<>"")  

with another. In both cases the Range: should be as wide as suits (say A:Z). Save rules.

like image 165
pnuts Avatar answered Oct 31 '22 07:10

pnuts