Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional Formatting with COUNTIF

I would like to have cell A11 set to show red via conditional formatting if
the cells F11:J11 and AI11:BF11 have either a number, date or text in them,
but excluding cells that contain X and the total is less than 12.
This is the formulae I have been trying;
=(COUNTIF(F11:J11,"<"&X)+COUNTIF(AI11:BF11,"<"&X ))<12

Similarly A11 should go yellow if the total is between 12 and 25.

Any suggestions.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Conditional Formatting with COUNTIF

Try this:
first condition for red:
=COUNTA(F11:J11,AI11:BF11)-COUNTIF(F11:J11,"<"&"X")-COUNTIF(AI11:BF11,"<"&"X")<12
second condition for yellow:
=COUNTA(F11:J11,AI11:BF11)-COUNTIF(F11:J11,"<"&"X")-COUNTIF(AI11:BF11,"<"&"X")<25


Regards,
Stefi


€˛Rovermog€¯ ezt Ć*rta:

I would like to have cell A11 set to show red via conditional formatting if
the cells F11:J11 and AI11:BF11 have either a number, date or text in them,
but excluding cells that contain X and the total is less than 12.
This is the formulae I have been trying;
=(COUNTIF(F11:J11,"<"&X)+COUNTIF(AI11:BF11,"<"&X ))<12

Similarly A11 should go yellow if the total is between 12 and 25.

Any suggestions.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Conditional Formatting with COUNTIF

=AND(COUNTIF(F11:J11,"<X")+COUNTIF(AI11:BF11,"<X ")-COUNTBLANK(F11:J11)-COUNTBLANK(AI11:BF11)=12,
COUNTIF(F11:J11,"<X")+COUNTIF(AI11:BF11,"<X")-COUNTBLANK(F11:J11)-COUNTBLANK(AI11:BF11)<=15)

--
__________________________________
HTH

Bob

"Rovermog" wrote in message
...
I would like to have cell A11 set to show red via conditional formatting if
the cells F11:J11 and AI11:BF11 have either a number, date or text in
them,
but excluding cells that contain X and the total is less than 12.
This is the formulae I have been trying;
=(COUNTIF(F11:J11,"<"&X)+COUNTIF(AI11:BF11,"<"&X ))<12

Similarly A11 should go yellow if the total is between 12 and 25.

Any suggestions.



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
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Countif and conditional formatting SLKPM Excel Discussion (Misc queries) 0 September 30th 05 10:35 AM
Conditional Formatting And Countif cafe Excel Discussion (Misc queries) 6 August 10th 05 08:40 PM
Conditional countif force530 Excel Worksheet Functions 6 July 1st 05 06:09 PM
Countif and Conditional Formatting Ramiro Espinoza Excel Worksheet Functions 1 February 2nd 05 05:21 PM


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

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"