Count CF cells

kdeppe

New Member
Joined
Jul 31, 2011
Messages
5
Hi,

I'm trying to count cells that are highlighted by conditional formatting. I have the vba code to count cells not highlighted by conditional formatting using the common colorfunction. I'm not sure how to adjust the code to account for CF. Is it difficult?

Thanks,
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I figured it'd be more difficult. There is probably an easier way of doing what I'm trying to do. I'm in charge of an office football pool and attached a screenshot. I used CF to highlight if the person got their pick correct or not. What I wanted to achieve was to count the number of cells that are highlighted green, effectively giving me the total number of picks (or "pts") that each person gets. I know the cells aren't numbers, but is there an easier way to count these? Thanks!

-- removed inline image ---
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,551
Members
452,927
Latest member
rows and columns

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