• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Is it possible to define a range that moves with the date ?

Say on column A I have a list of dates, I would like to DIM the cell next to today's date as the range.

So if A1 is 18/05/2016 then the defined range (lets call this TODAYRANGE) should be B1, but, if A2 is 19/05/2016 then the defined range tomorrow should be B2 ?

Is this doable?

Thanks
JT
 
Hi ,

There is no need to use a named range ; using Conditional Formatting , this can certainly be done.

Suppose the comparison date is in the cell E1 ; select the data range , say A1:B25 , and enter the following CF formula :

=AND($A1 = $E$1,COLUMN() = 2)

Select the appropriate font colour , say light gray.

Based on the date entered in E1 , the corresponding cell in column B will be dimmed.

Narayan
 
Back
Top