"Lock" cells in conditional formatting even if "Insert column" is used?

Bret1

Board Regular
Joined
Jun 14, 2013
Messages
199
Hello,
I have a conditional formatting applied to cells like this "=$KB$17:$KE$100000".... I run a Macro each day that shifts all columns to the right at KB and inserts new data down KB. However, both columns in the conditional formatting formula increase also, to "$KC$17:$KF$100000". Is there a way I can "lock" the "$KB" so that it doesn't increase to "$KC"? Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Never Mind.... I found a fix! Apparently, if I include column KA in the formatting formula, "=$KA$17:$KE$100000", and insert the column at "KB", then the "KA" remains stable and it increases the "KE" to "KF", just like I needed.
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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