A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"Contains" in conditional formatting



 
 
Thread Tools Display Modes
  #1  
Old February 6th, 2004, 08:16 PM
Mark
external usenet poster
 
Posts: n/a
Default "Contains" in conditional formatting

Is there a way to set conditional formatting to respond when a cell contains the text "msg" somewhere in the body of text in that cell?
  #2  
Old February 6th, 2004, 08:23 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default "Contains" in conditional formatting

Mark,

Yes, use a formula like

=NOT(ISERROR(FIND("msg",A1)))

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Mark" wrote in message
...
Is there a way to set conditional formatting to respond when a cell

contains the text "msg" somewhere in the body of text in that cell?


  #3  
Old February 6th, 2004, 08:24 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default "Contains" in conditional formatting

Hi Mark
enter the following formula in the conditional format dialog
=ISNUMBER(FIND("msg",$A$1))
and choose your format

Frank

Mark wrote:
Is there a way to set conditional formatting to respond when a cell
contains the text "msg" somewhere in the body of text in that cell?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:05 PM.


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