Count coloured cells

pamaga

Board Regular
Joined
Jul 3, 2002
Messages
82
Let's see if I can explain this properly...
I have a large number of data in column A. This is conditionally formatted so that cells below a certain threshold (value in B1) are green, above another threshold (value in B3) are red, and cells between the two values are orange. Now, what I would like to do is count the number of cells in column A that are green, orange and red, and put these values in C1, C2 and C3.
Did I explain this clearly? Many thanks for your help.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
On 2002-09-18 02:42, pamaga wrote:
Let's see if I can explain this properly...
I have a large number of data in column A. This is conditionally formatted so that cells below a certain threshold (value in B1) are green, above another threshold (value in B3) are red, and cells between the two values are orange. Now, what I would like to do is count the number of cells in column A that are green, orange and red, and put these values in C1, C2 and C3.
Did I explain this clearly? Many thanks for your help.

You will need to use your criteria formulas for the conditional formating in a countif formula to text fot the conditions.

eg if Green > 200 then

Countif (yourrange,yourcondition)

etc
 
Upvote 0

Forum statistics

Threads
1,203,189
Messages
6,054,021
Members
444,696
Latest member
VASUCH

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