Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JohnG
 
Posts: n/a
Default Countif cell color is Red?

I think I have an easy problem to solve, but I'm no excel guru.
If I have a row of cells, (basically 52 one for each week), in some there is
a conditional format to make the cell red. I am trying to count the number
of red cells in that row. Any quick formula I can insert in a cell like
countif ....?? Thanks


  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi John

Chip Pearson has some code on his website to do this
http://www.cpearson.com/excel/colors.htm

it's about the third article down, "Counting cells with a specific color"

Cheers
JulieD

"JohnG" wrote in message
...
I think I have an easy problem to solve, but I'm no excel guru.
If I have a row of cells, (basically 52 one for each week), in some there
is a conditional format to make the cell red. I am trying to count the
number of red cells in that row. Any quick formula I can insert in a cell
like countif ....?? Thanks



  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

If you're using a conditional format, use a formula with the same
conditional as the CF...

In article ,
"JohnG" wrote:

I think I have an easy problem to solve, but I'm no excel guru.
If I have a row of cells, (basically 52 one for each week), in some there is
a conditional format to make the cell red. I am trying to count the number
of red cells in that row. Any quick formula I can insert in a cell like
countif ....?? Thanks

  #4   Report Post  
JohnG
 
Posts: n/a
Default

Thank you.
Added a module, which I never have done before, and it works great.
Appreciate such a quick response. Have a great day !

"JohnG" wrote in message
...
I think I have an easy problem to solve, but I'm no excel guru.
If I have a row of cells, (basically 52 one for each week), in some there
is a conditional format to make the cell red. I am trying to count the
number of red cells in that row. Any quick formula I can insert in a cell
like countif ....?? Thanks



  #5   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome and thanks for the feedback

"JohnG" wrote in message
...
Thank you.
Added a module, which I never have done before, and it works great.
Appreciate such a quick response. Have a great day !

"JohnG" wrote in message
...
I think I have an easy problem to solve, but I'm no excel guru.
If I have a row of cells, (basically 52 one for each week), in some there
is a conditional format to make the cell red. I am trying to count the
number of red cells in that row. Any quick formula I can insert in a cell
like countif ....?? Thanks







  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Hmm...

That doesn't work when the color is applied using CF...

In article ,
"JulieD" wrote:

Chip Pearson has some code on his website to do this
http://www.cpearson.com/excel/colors.htm

it's about the third article down, "Counting cells with a specific color"

  #7   Report Post  
JulieD
 
Posts: n/a
Default

Hi JE

you're absolutely correct - sorry, John ... Chip has notes on working with
CF, but i'ld recommend the method suggested by JE McGimpsey about using the
formula/criteria that you're using to generate the conditional formatting in
the first place.

Cheers
JulieD

"JE McGimpsey" wrote in message
...
Hmm...

That doesn't work when the color is applied using CF...

In article ,
"JulieD" wrote:

Chip Pearson has some code on his website to do this
http://www.cpearson.com/excel/colors.htm

it's about the third article down, "Counting cells with a specific color"



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
COUNTIF text where there is more than one word in a cell Abi Excel Worksheet Functions 2 January 20th 05 03:32 AM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 01:48 AM.

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

About Us

"It's about Microsoft Excel"