Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count cells with a specific cell shading?
|
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count cells with a specific cell shading?
See http://www.xldynamic.com/source/xld.ColourCounter.html for a working
solution -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Mistermond" wrote in message ... |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count cells with a specific cell shading?
That works a treat! Thanks.
However, I have an additional complication in that I only want to count cells of a specific colour AND with non-zero values. I'm afraid my VBA isn't up to it! Any idea? Ray Mount "Bob Phillips" wrote: See http://www.xldynamic.com/source/xld.ColourCounter.html for a working solution -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Mistermond" wrote in message ... |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count cells with a specific cell shading?
It is counted by VBA, the VBA returns an array of matching colours, it is
the SP formula. So use something like =SUMPRODUCT(--(C1:C1000<0),--(ColorIndex(C1:C1000)=Colorindex(A1)) where A1 is coloured with your test colour. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Mistermond" wrote in message ... That works a treat! Thanks. However, I have an additional complication in that I only want to count cells of a specific colour AND with non-zero values. I'm afraid my VBA isn't up to it! Any idea? Ray Mount "Bob Phillips" wrote: See http://www.xldynamic.com/source/xld.ColourCounter.html for a working solution -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Mistermond" wrote in message ... |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count cells with a specific cell shading?
Spot one once again!
Thanks very much - it has saved me a lot of effort now and in the future. Ray Mount "Bob Phillips" wrote: It is counted by VBA, the VBA returns an array of matching colours, it is the SP formula. So use something like =SUMPRODUCT(--(C1:C1000<0),--(ColorIndex(C1:C1000)=Colorindex(A1)) where A1 is coloured with your test colour. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Mistermond" wrote in message ... That works a treat! Thanks. However, I have an additional complication in that I only want to count cells of a specific colour AND with non-zero values. I'm afraid my VBA isn't up to it! Any idea? Ray Mount "Bob Phillips" wrote: See http://www.xldynamic.com/source/xld.ColourCounter.html for a working solution -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Mistermond" wrote in message ... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
count specific text that occurs in a range of cells | Excel Discussion (Misc queries) | |||
Calculating only non-empty cells... | Excel Worksheet Functions | |||
Conditional Cell Shading (based on the shading of other cells) | Excel Worksheet Functions | |||
count cell if value present in every other cell + criteria | Excel Worksheet Functions | |||
How to count how many cells a linked cell group occupies | Excel Worksheet Functions |