Forum Discussion
Copying Conditional formatting with relative cell referencces in the formula desn't work
I know this is an old thread, but for anyone reading - I found that I was unable to copy the formatting to more than one cell at a time. The Format Painter will work copying the conditional formatting with relative cell references from, for example, cell T3 to cell T4, however, if I drag the Format Painter down cells T4 through T14, it will only use relative cell reference for T4 but not the other cells.
I think this is a feature that could use some work, if anyone else knows a way around this please let me know.
That's a normal behaviour. Dragging Format Painter from T4 to T14 you apply conditional formatting to entire range T4:T14. Excel take formula for the first cell in the range as the basis and apply it internally to each cell in the range. Exactly the same will be if you first select T4:T14 range, add rule formula for the first cell, e.g. T4>A4 and apply to entire range - formula itself isn't changed if you check CF for any other cell within the range.
- Jim_RJul 16, 2019Copper Contributor
SergeiBaklan, it may be normal behavior, but it seems that if the feature allowed for relative references in the range field that you would be able to paint a much larger range at a time and preserve the proper reference. Without that, I'm having to paint one row at a time, 500 times.
- rbermanApr 15, 2024Copper ContributorIt's not reasonable behavior when relative references are used.
- mrkuramotoJul 21, 2019Copper Contributor
Hello Jim,
Maybe you already solved what you were looking for. If not, please visit this website.
With just a few clicks it is possible to set the conditional format for thousands of lines. The first example in this website is "crazy" at first glance but it works smoothly. It solved my problem! and there, the author offers several good examples of conditional formatting.https://exceljet.net/conditional-formatting-with-formulas
- varocketryJan 18, 2020Copper ContributorNope. That site DOES NOT discuss the USE CASE that several of us are asking about here in this thread.