Copying conditional formating parameters with changing cell values

dmxcasper2

Board Regular
Joined
Mar 21, 2012
Messages
65
Problem:
1. I am trying to create conditional formatting with a dynamic Cell Value.
2. When I drag copy the format in Column H, the cell value circiled below stays static as opposed to changing to D3.

Any help is appreciated. :)

1659729193740.png


1659729326934.png
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
When you look at the formula in Conditional Formatting, it will also show the formula as it appears to the very first cell in the range it is applied to.
So, if it is applied to range H2:H6, the formula displayed will always be in relation to cell H2.
But as long as you have applied absolute/relative range referencing in your formula correctly, it will automatically adjust that formula for the other cells.
 
Upvote 0
When you look at the formula in Conditional Formatting, it will also show the formula as it appears to the very first cell in the range it is applied to.
So, if it is applied to range H2:H6, the formula displayed will always be in relation to cell H2.
But as long as you have applied absolute/relative range referencing in your formula correctly, it will automatically adjust that formula for the other cells.
Thank you for the response.

How can copy this formatting across 100 cells that mimic this?

Cell Value = D2, Applies to H2
Cell Value = D3, Applies to H3
Cell Value = D4, Applies to H4
 
Upvote 0
Thank you for the response.

How can copy this formatting across 100 cells that mimic this?

Cell Value = D2, Applies to H2
Cell Value = D3, Applies to H3
Cell Value = D4, Applies to H4
I have the Format Copier to be a bit fickle.
I have much better luck selecting the whole range that you want to apply the Conditional Formatting to (i.e. H2:H100).
I also like to use the "Use a formula to determine which cells to format" option.
Then just write the formula you want to use as it applies to the first cell in that range (H2), and the formula will automatically adjust for the rest of the cells in your selection.

Doing this, you can actually combine your two green rules into one rule, like this:
Excel Formula:
=H2<=D2
and then your red formatting rule would just be:
Excel Formula:
=H2>D2
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top