Conditional formatting - Apply on more cells
I’m not so familiar with conditional formatting, so i would like to ask something:
I'm making a doc where Column A has number values, column B also numbers, of rank positions. Conditional formatting of cell in column B would be: if number is greater than number in cell A, color it Red, and if it is less than number in cell A, color it green (rank position dropped down). Now, I managed that, but since the document has lots of rows, how do I apply the formatting on the other cells in the column? If i make copy/paste to them, formatting doesn't apply on the whole column since it is not a function, but a cell format. And do i have to do the formatting every day for every next column?
The "secret" is to make the formula with "relative referencing", hence, if your formula looks like this:
then remove the $ sign before the row number, so it will look like this:
With this, you actually don't need to copy the conditional formatting. You can select an entire range before applying it, and insert the formula as if you selected only the first cell at the top. Excel will know to apply the correct formulas to all the other cells in the range (assuming the range is a column).
Or you can apply this formula to the first row, and copy it with the format painter.
You can have a look at the video named "Highlight the entire row based upon a cell value (with a formula)" in the following address:
It gives an example of using a similar formula with such "relative referencing".
Thanks to sheryljohnson
for this tip on the forum.