ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Easy way to count (https://www.excelbanter.com/excel-discussion-misc-queries/78102-easy-way-count.html)

reno

Easy way to count
 
is there an easy way after conditional formatting to count colored cells,
e.g., say the cond-formating resulted 10 cells in col A that are red and you
wanted to include that total at end of the analysis, rather than counting
them up manually.
thanks

Dave Peterson

Easy way to count
 
Easy--no (well, in my opinion).

Chip Pearson has some code you can use to see if it's difficult for you:
http://cpearson.com/excel/CFColors.htm

If I were doing it, I'd try to mimic the same conditional formatting rules in a
cell in the same row--then use that.

reno wrote:

is there an easy way after conditional formatting to count colored cells,
e.g., say the cond-formating resulted 10 cells in col A that are red and you
wanted to include that total at end of the analysis, rather than counting
them up manually.
thanks


--

Dave Peterson

Cutter

Easy way to count
 

What was the condition that made the cells turn red? You may be able to
count them that way.


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=523756



All times are GMT +1. The time now is 03:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com