countif function

D

Dave

I have a range of cells that conditional formating will change color when a
cell exceeds a value. Each cell has a different value it will change on. How
do I count for example the number of cells in that range that are colored red
or green by conditional formatting.
 
P

Pete_UK

Normally you would use the CF criteria as the condition in the
conditional count. However, if each CF condition has a different value
then this would be difficult. Can you have a column which contains the
value which triggers the CF, rather than embedding it within the CF
formula? Then you could make use of this value to determine which
cells to count.

Hope this helps.

Pete
 
D

Dave

I tried using the =CFColorCount and got a "invaild text" message. Where are
the Color Index values found? Or do I have to use VB instead of a excel
function?
 
G

Glenn

Dave said:
I have a range of cells that conditional formating will change color when a
cell exceeds a value. Each cell has a different value it will change on. How
do I count for example the number of cells in that range that are colored red
or green by conditional formatting.


If it is only when a cell exceeds a value, maybe something like this could help:

http://www.savefile.com/files/1996219
 

Ask a Question

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.

Ask a Question

Top