I am trying to apply a pattern to multiple cells when a date is entered in one particular cell. I need to use relative reference because the block of cells needs to be copied and pasted as needed.
In the attached, the vertical line pattern is present because the formula in conditional formatting is:
Note that the COPY of these cells does NOT have a date in L18, so the lines should not be there. But they are, of course, because the cell reference $L$6 is absolute. But if I just use L6 when entering the conditional format with all cells selected, the formatting does not work except in one cell.![]()
Please Login or Register to view this content.
The only way I can find to make this work is to enter =ISNUMBER(L6) in EVERY single cell, individually. I have tried $L6 and L$6 and neither work.
Is there any other way to do this? I have multiple sections like this, all of which need to be copied and pasted often. So to enter the formatting for each cell individually would require a few hundred entries.
(Note: the copy and pasting function in my spread sheet is performed by a macro. So if there is an easy way to put this in the macro code, I'm all ears.)
Bookmarks