Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 107
Default COUNT IF - Conditional Formatting

I need a formula for the following:

If Col D = SW and Col E = France, then count how many green cells are in Col
O. (Column O has conditional formatting of Green, Yellow & Red based on a %,
but I don't want to count the %, just want to count the instances of Green).

Thanks very much!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default COUNT IF - Conditional Formatting

Try
=IF(AND(D2="SW",E2="France"),COUNTIF($O2:$O99, "75%"),"")
Where 75% is the condition of green, you can also specify ranges for D2 and
E2 but all in range must meet chriteria.

If this helps click YES.

"KC" wrote:

I need a formula for the following:

If Col D = SW and Col E = France, then count how many green cells are in Col
O. (Column O has conditional formatting of Green, Yellow & Red based on a %,
but I don't want to count the %, just want to count the instances of Green).

Thanks very much!

  #3   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 107
Default COUNT IF - Conditional Formatting

Below is the cell I ended up with, however it doesn't work. I tried it on
each county and all returned blank except for Italy and the answer shoud have
been 5, but it returned 176. I also tried putting a range for Col D & E, but
then I got a Do I have something wrong here? What I do know is that there
are a total of 176 100% in the entire column.

=IF(AND('Power CFUs'!$D:$D=$A5,'Power CFUs'!$E:$E=$B5),COUNTIF('Power
CFUs'!$O$6:$O$735,"100%"),"")

"PhilosophersSage" wrote:

Try
=IF(AND(D2="SW",E2="France"),COUNTIF($O2:$O99, "75%"),"")
Where 75% is the condition of green, you can also specify ranges for D2 and
E2 but all in range must meet chriteria.

If this helps click YES.

"KC" wrote:

I need a formula for the following:

If Col D = SW and Col E = France, then count how many green cells are in Col
O. (Column O has conditional formatting of Green, Yellow & Red based on a %,
but I don't want to count the %, just want to count the instances of Green).

Thanks very much!

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
Conditional formatting based on character count Rhonda H. Excel Worksheet Functions 1 September 3rd 09 12:25 AM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
COUNT CELLS WITH CONDITIONAL FORMATTING PEGWINN Excel Worksheet Functions 6 September 22nd 07 06:03 PM
Count cells that meetin conditional formatting criteria chad Excel Worksheet Functions 6 January 5th 07 10:30 AM
Count and Sum with Conditional Formatting Problem pmahajan Excel Worksheet Functions 1 December 14th 04 05:30 AM


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

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"