Forum Discussion
Conditional format a cell that corresponds to todays date
- Oct 10, 2018
Hi Sam,
I've updated the workbook you attached with the below conditional formatting formula to highlight today's date.
=CELL("address",D4)=ADDRESS(DAY(TODAY())+3,CHOOSE(IF(YEAR(TODAY())=2018,1,2),MONTH(TODAY()),MONTH(TODAY())+12),1)But, please be careful not to change the current layout of the table because the formula depends on it.
Regards,
Haytham
Hi Sam,
I think that the formula suggested by SergeiBaklan is better and less complicated than my formula.
So I recommend you to use it instead, but with a small correction as follows:
=(D$3+ROW()-4)=TODAY()
Please find it in the attached file
Hope that helps
Hi Haytham Amairah,
You are right, thank you,
=(D$4+ROW()-ROW(D$4)-1)=TODAY()
For the maintenance purposes I'd prefer to keep reference on the row instead of number. If one day you decide to add one more row on the top of the sheet the formula will be adjusted automatically. Otherwise you shall to do that manually.