Highlight Row range if checkbox is True

bobby786

Board Regular
Joined
Apr 24, 2014
Messages
87
Office Version
  1. 2016
Platform
  1. Windows
Dear All Expert ,
I have worksheet in which Each row has its own checkbox, referencing to a unique cell link

For Eg
A6=checkbox , Linked to DT6 , B6 to Display Text based on DT6 true or false. with the help of formula
Excel Formula:
=IF(DT6 = TRUE, "Done", "Open")

The following condition is required: When a user ticks the checkbox, the corresponding cell range defined in conditional formatting should be highlighted (say uniformly green). The user can tick as many checkboxes as he likes, highlighting all the cells that the checkbox(es) is/are controlling.

I was able to create this for one row , but there is hundreds more , and applying manually conditional formatting to all is very tedious work , i believe there will be more decent way to do it ,

my question is
1. how can i clone the conditional formatting formula to rest of the linked cell which ?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
it worked , but i ran into other problems , because my sheet data is linked to other sheet in same workbook , when i copy and paste special format only , the other sheet data all get messed up , luckily i have backup of original file , otherwise i would have to enter 100's of rows data again .
 
Upvote 0
You don't have to copy CF.
You can use the dialog window to apply the rule to a range:

1618142558826.png
 
Upvote 0
1618147989441.png



i am able to create for one row ,but there is 100's of row which need the same treatment.
you mean to say i have to do this same steps for each row one by one, there is no way to automate it ?

Regards
 
Upvote 0
For 500 rows:
Formula: $DT6
Applies to: $B$6:$AY$506
 
Upvote 0
For 500 rows:
Formula: $DT6
Applies to: $B$6:$AY$506
with that formula it is highligting all 500 rows for one click , where as i just want to highlight the row which is True by checkbox command


1618160921702.png
 
Upvote 0
Your formula is different.
Formula: $DT6
 
Upvote 0
Solution

Forum statistics

Threads
1,215,535
Messages
6,125,378
Members
449,221
Latest member
DFCarter

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