Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Take a look at this:
(Counting Cells With A Specific Color) http://www.cpearson.com/excel/colors.htm You could try this macro too: Sub countcolor() Dim rng As Range Dim cnt As Long Set rng = Range("A1:E12") cnt = 0 For Each cell In rng If cell.Interior.ColorIndex = 3 Then cnt = cnt + 1 End If Next MsgBox cnt Range("G1").Value = cnt End Sub Regards, Ryan-- -- RyGuy "jc132568" wrote: Dear experts, In my worksheets I have a "traffic light" system where cells with particular values turn assigned cells in another location red, green or yellow using conditional formatting. This provides me with a quick reference. My question is can I count cells according to their colouring. Then I could say I've got 20 cases complete, 10 cases in process, and 2 cases pending for example. I know I could count the cells at the site of the original data but counting the "traffic lights" would add to my summary info. Thanks JC |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting colours | Excel Worksheet Functions | |||
Counting colours | Excel Discussion (Misc queries) | |||
Cell Colours | Excel Discussion (Misc queries) | |||
Count If on colours in a cell? | Excel Discussion (Misc queries) | |||
Excel 2003 font colours and cell colours | Excel Discussion (Misc queries) |