How do you count the number of colored cells

channman

New Member
Joined
Dec 8, 2005
Messages
2
I would like to count the number of colored cells in a range.
Does anyone know how to do this. I thought this would work
=COUNTIF(C13:AA36,"*Cell.Color[1}}*") but I think I need
more info. I do not want to count the number in the cell just
the number of instances that the cell in a certain color.
Please Help!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
channman said:
I would like to count the number of colored cells in a range.
Does anyone know how to do this. I thought this would work
=COUNTIF(C13:AA36,"*Cell.Color[1}}*") but I think I need
more info. I do not want to count the number in the cell just
the number of instances that the cell in a certain color.
Please Help!

One way...

Download and install the morefunc.xll add-in and study the example the system provides using XLM.GET.CELL combined with SumProduct.
 

channman

New Member
Joined
Dec 8, 2005
Messages
2
Downloaded file

I downloaded the file but it seems to be corupt. The zip only contains a
setup.exe and will not run.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Re: Downloaded file

channman said:
I downloaded the file but it seems to be corupt. The zip only contains a
setup.exe and will not run.

Download a fresh copy and re-try.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,812
Messages
5,833,803
Members
430,233
Latest member
cbutts

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
Top