Count Colour

glenn0004

New Member
Joined
Nov 15, 2011
Messages
18
I have seen any tried many variations of VBA code to count coloured cells in excel - which work if the cells are manually coloured - however the cells in my requirement are coloured by conditional formatting - all options tried ignore the conditionally formatted cells....help anyone?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
You need to count the cells that meet the condition that triggers the Conditional Format.
 
Upvote 0
Thanks for this, but I think I'm missing somthing!

my conditional format formula is =IF(MATCH($C$94,$G10:$J10,0),TRUE,FALSE) to turn the cell black if true.

I have tried =Countif(AA1:AA99,IF(MATCH($C$94,$G10:$J10,0),TRUE,FALSE)), but get nothing.
 
Upvote 0
Thanks for this, but I think I'm missing somthing!

my conditional format formula is =IF(MATCH($C$94,$G10:$J10,0),TRUE,FALSE) to turn the cell black if true.

I have tried =Countif(AA1:AA99,IF(MATCH($C$94,$G10:$J10,0),TRUE,FALSE)), but get nothing.
<!-- / message -->
 
Upvote 0

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

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