conditional cell lock if select cells =1

2k05gt

Board Regular
Joined
Sep 1, 2006
Messages
157
I am having trouble creating a formula to to this, so I am leaning to the VB solution, this
is causing me to beat my head against the wall...

I am trying to lock cells (a1:a3, c1:c3, e1:e3 g1, i1, k1, m1, o1, q1, s1, if any cell has a "1" entered (don't lock the cell with the 1 in it because if I remove the 1 they must all unlock). the locked cells also need to receive an X in them to indicate that they are locked.

The attached sheet can give better detail. but the A1-A3, C1-C3 and E1-E3 are a group
I have 3 seporate groups. these 3 groups are repeated in 5 defferent columns.

If someone can get me started on the basics I should be able to apply the code to the entire workbook, several sheets and 100 sections and Conditional formating is killing me.

http://www.fileswap.com/dl/8DNRNBeMUK/racing.xlsx.html
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,215,429
Messages
6,124,835
Members
449,192
Latest member
mcgeeaudrey

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