Have a look at this link:
http://www.cpearson.com/excel/SortByColor.htm
Although this is about sorting by colour, it gives you some UDFs which
will return the colour information to another column - you can then do
a COUNTIF on that column, something like:
=COUNTIF(B1:B100,4)
assuming the colour information is in column B and you are interested
in colour number 4.
Hope this helps.
Pete
On Oct 17, 11:12 am, David wrote:
Is there a function to count the cells in a range, which have a given
interior color?