Change colour of block cells if other cells are full?

Geek Girl 007

Board Regular
Joined
Mar 12, 2022
Messages
183
Office Version
  1. 2021
Platform
  1. Windows
1738840260310.png


I want Cells A4 through to F6 to go another colour if cells C4 though to F6 have text.....

I used this formula, =COUNTA($C4:$F6)=12 but as you can see it only highlighted the top row???
I have no idea what I am doing wrong???

Sorry I can only load images not mini sheet from my work PC.
 
lock the rows as well

try countA($C$4:$F$6)=12
and apply to A4:F6

for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A4:F6 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=countA($C$4:$F$6)=12

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

i'll see if i have time to mock up an example

Utility-1.xlsx
ABCDEF
1
2
31
41111
51111
61111
7
8
9
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A4:F6Expression=COUNTA($C$4:$F$6)=12textNO
 
Upvote 0
Solution
lock the rows as well

try countA($C$4:$F$6)=12
and apply to A4:F6

for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A4:F6 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=countA($C$4:$F$6)=12

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

i'll see if i have time to mock up an example

Utility-1.xlsx
ABCDEF
1
2
31
41111
51111
61111
7
8
9
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A4:F6Expression=COUNTA($C$4:$F$6)=12textNO
Perfect, Thank you.

I was so close :)
 
Upvote 0
lock the rows as well

try countA($C$4:$F$6)=12
and apply to A4:F6

for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A4:F6 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=countA($C$4:$F$6)=12

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

i'll see if i have time to mock up an example

Utility-1.xlsx
ABCDEF
1
2
31
41111
51111
61111
7
8
9
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A4:F6Expression=COUNTA($C$4:$F$6)=12textNO

Would I be able to copy this to the next day??? I ask because of the $
 
Upvote 0
no, its fixed - so a copy will keep the same rows

are those days in merged cells - that makes it all the more difficult

having a think on how to do for every row , based on groups of 4 rows
 
Upvote 0
no, its fixed - so a copy will keep the same rows

are those days in merged cells - that makes it all the more difficult

having a think on how to do for every row , based on groups of 4 rows
I posted it as a new question, I wasn't sure I was allowed to ask here again.
Thank you so much, I will take all and any help with this :)
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,917
Members
453,766
Latest member
Gskier

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