Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
HalB
 
Posts: n/a
Default counting cells with conditional formatting applied

I am looking for a way/formula that will count the number of times a cell
with conditional formatting has occured.
I have a column of cells that is compared to another column of cells and if
one condition is met (<), the cell's color is set to Red or if another
condition is met () the cell's color is set to Green. I am wanting to add a
column that gives me the total number of Red cell's in that column.

Thanks!
  #2   Report Post  
Bernard Liengme
 
Posts: n/a
Default

Look on Chip's site at www.cpearson.com
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"HalB" wrote in message
...
I am looking for a way/formula that will count the number of times a cell
with conditional formatting has occured.
I have a column of cells that is compared to another column of cells and
if
one condition is met (<), the cell's color is set to Red or if another
condition is met () the cell's color is set to Green. I am wanting to add
a
column that gives me the total number of Red cell's in that column.

Thanks!



  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Hal

You should be able to count the cells based upon the condition that turned the
cells red.

e.g. CF Cell Value is 50 turn red.

Enter formula in a cell =COUNTIF(A1:A100,"50")


Gord Dibben Excel MVP

On Sun, 20 Feb 2005 07:41:05 -0800, "HalB"
wrote:

I am looking for a way/formula that will count the number of times a cell
with conditional formatting has occured.
I have a column of cells that is compared to another column of cells and if
one condition is met (<), the cell's color is set to Red or if another
condition is met () the cell's color is set to Green. I am wanting to add a
column that gives me the total number of Red cell's in that column.

Thanks!


  #4   Report Post  
HalB
 
Posts: n/a
Default

Thanks for the response.

The problem is I am having trouble understanding how to check a range of
cells. For instance, Column A contains 18 rows with different values, Column
B contains 18 rows of different values that have conditional formatting
applied based on their comparison to Column A (Red = <) or (Green = ). I am
looking to count the number of times Column B is formatted Red.

Example:

A B
1 4 4
2 4 3 (Red)
3 3 4 (Green)
4 5 4 (Red)
5 3 3
...
19 2 === The result I am looking for.


"Gord Dibben" wrote:

Hal

You should be able to count the cells based upon the condition that turned the
cells red.

e.g. CF Cell Value is 50 turn red.

Enter formula in a cell =COUNTIF(A1:A100,"50")


Gord Dibben Excel MVP

On Sun, 20 Feb 2005 07:41:05 -0800, "HalB"
wrote:

I am looking for a way/formula that will count the number of times a cell
with conditional formatting has occured.
I have a column of cells that is compared to another column of cells and if
one condition is met (<), the cell's color is set to Red or if another
condition is met () the cell's color is set to Green. I am wanting to add a
column that gives me the total number of Red cell's in that column.

Thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying cells with conditional formatting Benfanfromlo Excel Discussion (Misc queries) 3 February 10th 05 06:12 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
Print cells that meet conditional formatting criteria Roundy Excel Discussion (Misc queries) 1 December 14th 04 12:13 AM
bolding cells in conditional formatting Katherine Excel Worksheet Functions 1 December 7th 04 07:57 PM


All times are GMT +1. The time now is 12:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"