column conditional formatting - keeps changing when cellls copied

smakatura

Board Regular
Joined
May 27, 2011
Messages
141
I have a spread sheet that I want to set a conditional formatting on column C. Rules: =AND(D1<>"", C1="") Condition: turns cell yellow

this is working but if I grab (as an example) C15 and drag it down to C18 to copy a value to the cells below, it causes the conditional formatting to get all funny and creates multiple conditional formatting rules.

I need to be able to drag and copy the cells as it is part of my daily task.

I tried using name ranges and indirect to make it stop creating and changing the rules....but it is not working. I could be writing it wrong. I have searched but I am not able to find a solution that works for me.


how do set the conditional formatting so that it will stick to column c and not get messed up?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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