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  

Conditionally format entire worksheet



 
 
Thread Tools Display Modes
  #1  
Old June 18th, 2009, 01:04 AM posted to microsoft.public.excel.worksheet.functions
JDesmarais
external usenet poster
 
Posts: 3
Default Conditionally format entire worksheet

I want to format the worksheet to look in every cell for a letter and if that
letter is present, color the background a color. I cannot figure out how to
write the formula to search the entire worksheet without turning the entire
worksheet the color.

Example, everytime a cell's entry is M color the background green
  #2  
Old June 18th, 2009, 01:42 AM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default Conditionally format entire worksheet

Assuming you're looking for a letter "e"

Select your range

Conditional Formatting:

=COUNTIF(A1,"*e*")



"JDesmarais" wrote:

I want to format the worksheet to look in every cell for a letter and if that
letter is present, color the background a color. I cannot figure out how to
write the formula to search the entire worksheet without turning the entire
worksheet the color.

Example, everytime a cell's entry is M color the background green

  #3  
Old June 18th, 2009, 01:50 AM posted to microsoft.public.excel.worksheet.functions
Sheeloo
external usenet poster
 
Posts: 797
Default Conditionally format entire worksheet

OR use in FORMULA IS
=ISNUMBER(FIND("M",A1))

or

=ISNUMBER(FIND("M",UPPER(A1))) if you want both m and M.

"Teethless mama" wrote:

Assuming you're looking for a letter "e"

Select your range

Conditional Formatting:

=COUNTIF(A1,"*e*")



"JDesmarais" wrote:

I want to format the worksheet to look in every cell for a letter and if that
letter is present, color the background a color. I cannot figure out how to
write the formula to search the entire worksheet without turning the entire
worksheet the color.

Example, everytime a cell's entry is M color the background green

  #4  
Old June 18th, 2009, 02:23 AM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Conditionally format entire worksheet

You don't really need to use ISNUMBER.

For case consideration

=FIND("M",A1)

Or, for case not a consideration:

=SEARCH("M",A1)

FIND/SEARCH will return either a number =1 or an error. When the return is
any number other than 0 the format will be applied. When the return is an
error the format will not be applied.

--
Biff
Microsoft Excel MVP


"Sheeloo" wrote in message
...
OR use in FORMULA IS
=ISNUMBER(FIND("M",A1))

or

=ISNUMBER(FIND("M",UPPER(A1))) if you want both m and M.

"Teethless mama" wrote:

Assuming you're looking for a letter "e"

Select your range

Conditional Formatting:

=COUNTIF(A1,"*e*")



"JDesmarais" wrote:

I want to format the worksheet to look in every cell for a letter and
if that
letter is present, color the background a color. I cannot figure out
how to
write the formula to search the entire worksheet without turning the
entire
worksheet the color.

Example, everytime a cell's entry is M color the background green



 




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 04:23 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.