Forum Discussion
apply conditional formatting of a cell to all coloumn
Let's assume that you want to apply the conditional formatting to the range J4:J6, then select the range J4:J6 and then make a new rule for conditional formatting using the formula given below...
=TODAY()-J4>300
Notice the J4 in the above formula which must be the first cell in the selected range J4:J6.
How about if I want to highlight the cell of the current date on the calendar in the column
and make all the above dates invisible till I show them ?
other meaning the current date is highlighted at the top and above it the previous dates but invisible
- SergeiBaklanMay 14, 2022Diamond Contributor
It depends dates are sorted or not. If sorted, two rules applied to J4:J30 or so.
=$J4=TODAY() to highlight current date
=$J4<TODAY() and select same background and font colours.
- HassanBoshaMay 14, 2022Copper ContributorNo, I meant the dates in column B
and yes they are sorted I just want that the date of the current day to be shown at first exactly after the Date cell- SergeiBaklanMay 14, 2022Diamond Contributor
You may use in conditional formatting applied to column J use in rule formula references on values in column B .