Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dinocm
 
Posts: n/a
Default format cells when containing specified text

I am trying to "conditionally format" cells different colors when they
contain certain words (e.g., if text contains 'dog' then cell color is
yellow; if text contains 'cat' then cell color is red).

I am not looking for EXACT text match before condition formatting is applied.
  #2   Report Post  
Posted to microsoft.public.excel.misc
JE McGimpsey
 
Posts: n/a
Default format cells when containing specified text

One way:

Set the dropdowns and textboxes to read

CF1: Formula is =COUNTIF(A1,"*dog*")
Format1: <patterns/<yellow

CF2: Formula is =COUNTIF(A1,"*cat*")
Format2: <patterns/<red



In article ,
dinocm wrote:

I am trying to "conditionally format" cells different colors when they
contain certain words (e.g., if text contains 'dog' then cell color is
yellow; if text contains 'cat' then cell color is red).

I am not looking for EXACT text match before condition formatting is applied.

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Why will my cells not format? Jamie Kelly New Users to Excel 3 January 13th 06 06:41 PM
converting general cells format to text junkgrrl Excel Discussion (Misc queries) 1 January 12th 06 05:50 PM
stopping pasted text deliminate across multiple cells Paul from NZ Excel Discussion (Misc queries) 3 September 8th 05 06:06 AM
Cells formated as text do not always display properly Cass Excel Discussion (Misc queries) 2 July 23rd 05 01:59 AM


All times are GMT +1. The time now is 11:49 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"