If Value is consecutive 15 times or more in the same column then highlight cells

Ossian13

New Member
Joined
Oct 21, 2016
Messages
46
Hi everyone,

i have an excel file and in a column i have two values, true or false. I want to highlight cells if the value true is consecutive 15 times or more. I think i can do this with conditional formatting but im not quite sure. Would you be so kind to tell me some suggestions?

Thank you and regards,
Ossian
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
1. Select the column (in this example it's A).
2. Home>Conditional Formatting>New Rule>Use a formula
3. Formula is: =COUNTIF(A1:A15,TRUE)=15
4. choose the format you want and press OK
 
Upvote 0
Hi Joe,

thanks for your reply, in the meantime i managed to write a macro using offset. Thanks for your effort tough :). Cheers!
 
Upvote 0

Forum statistics

Threads
1,224,109
Messages
6,176,415
Members
452,728
Latest member
mihael546

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