Hi Martin
Basically it can't be done by Excel in its normal configuration.
However, have a look at the site below for adding ColourIndex to Excel,
which will then allow you to count cells and other interesting stuff.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.