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

I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Conditional Formatting

Select the cells you want to assign conditional formatting to and click
FORMAT in the menu and select CONDITIONAL FORMATTING:

Drop down the options in the CONDITION 1 combo box and select FORMULA IS

In the text box to the right enter the following formula, replacing A1 with
the currently active cell in your selected range:

=OR(A1="",A1="missing")

Click the format button and then select the formats you want to apply and
click OK twice to exit back to the worksheet
--
Kevin Backmann


"watermt" wrote:

I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conditional Formatting

Highlight all the cells you want this to apply to (assume the first of
these is A1), then click on Format | Conditional Formatting and in the
dialogue box choose Formula Is rather than Cell Value Is in the first
box. Enter this formula in the next box:

=OR(A1="",ISNUMBER(SEARCH("missing",A1)))

Click on the format button and the Patterns Tab to choose your
highlight colour. Click OK (twice) to apply these settings - Excel
will automatically adjust the cell references to suit your selected
cells, but if your first cell was not A1 then you will have to make
the appropriate changes to the formula I gave you.

Hope this helps.

Pete

On Jun 24, 3:16*pm, watermt wrote:
I'm attempting to do some conditional formatting on text. *I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Conditional Formatting

In Conditional Formatting, select "Formula Is", and try this:

=OR(A1="",COUNTIF(A1,"*missing*")0)

Assumes "missing" may be combined with other text in the same cell.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"watermt" wrote in message
...
I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Conditional Formatting

I tried your suggestion and my conditional formatting ended up being applied
to every cell in the range. Thanks for the reply though!

"Kevin B" wrote:

Select the cells you want to assign conditional formatting to and click
FORMAT in the menu and select CONDITIONAL FORMATTING:

Drop down the options in the CONDITION 1 combo box and select FORMULA IS

In the text box to the right enter the following formula, replacing A1 with
the currently active cell in your selected range:

=OR(A1="",A1="missing")

Click the format button and then select the formats you want to apply and
click OK twice to exit back to the worksheet
--
Kevin Backmann


"watermt" wrote:

I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Conditional Formatting

Kevin,
I went back and double checked your suggestion and realized that I had not
"cleared" my previous attempt at applying conditional formatting, so this is
why your suggestion dsiplayed all cells formatted. I corrected this and
still had a problem, only the cells labeld missing were formatted and your
formula overlooked the blank cells.

Mike

"Kevin B" wrote:

Select the cells you want to assign conditional formatting to and click
FORMAT in the menu and select CONDITIONAL FORMATTING:

Drop down the options in the CONDITION 1 combo box and select FORMULA IS

In the text box to the right enter the following formula, replacing A1 with
the currently active cell in your selected range:

=OR(A1="",A1="missing")

Click the format button and then select the formats you want to apply and
click OK twice to exit back to the worksheet
--
Kevin Backmann


"watermt" wrote:

I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Conditional Formatting

Pete,
Thanks your suggestion worked, much appreciated!

Mike

"Pete_UK" wrote:

Highlight all the cells you want this to apply to (assume the first of
these is A1), then click on Format | Conditional Formatting and in the
dialogue box choose Formula Is rather than Cell Value Is in the first
box. Enter this formula in the next box:

=OR(A1="",ISNUMBER(SEARCH("missing",A1)))

Click on the format button and the Patterns Tab to choose your
highlight colour. Click OK (twice) to apply these settings - Excel
will automatically adjust the cell references to suit your selected
cells, but if your first cell was not A1 then you will have to make
the appropriate changes to the formula I gave you.

Hope this helps.

Pete

On Jun 24, 3:16 pm, watermt wrote:
I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Conditional Formatting

RD,
Your formula and Pete's both worked as I had wished, thanks!

"RagDyeR" wrote:

In Conditional Formatting, select "Formula Is", and try this:

=OR(A1="",COUNTIF(A1,"*missing*")0)

Assumes "missing" may be combined with other text in the same cell.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"watermt" wrote in message
...
I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conditional Formatting

You're welcome, Mike - thanks for feeding back.

Pete

On Jun 24, 4:01*pm, watermt wrote:
Pete,
Thanks your suggestion worked, much appreciated!

Mike



"Pete_UK" wrote:
Highlight all the cells you want this to apply to (assume the first of
these is A1), then click on Format | Conditional Formatting and in the
dialogue box choose Formula Is rather than Cell Value Is in the first
box. Enter this formula in the next box:


=OR(A1="",ISNUMBER(SEARCH("missing",A1)))


Click on the format button and the Patterns Tab to choose your
highlight colour. Click OK (twice) to apply these settings - Excel
will automatically adjust the cell references to suit your selected
cells, but if your first cell was not A1 then you will have to make
the appropriate changes to the formula I gave you.


Hope this helps.


Pete


On Jun 24, 3:16 pm, watermt wrote:
I'm attempting to do some conditional formatting on text. *I need to
highlight cells that contain the word missing and also any cells that were
left blank.


is this possible?- Hide quoted text -


- Show quoted text -


  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Conditional Formatting

Is there a limit to how many arguments I can use with your formula?

"Pete_UK" wrote:

Highlight all the cells you want this to apply to (assume the first of
these is A1), then click on Format | Conditional Formatting and in the
dialogue box choose Formula Is rather than Cell Value Is in the first
box. Enter this formula in the next box:

=OR(A1="",ISNUMBER(SEARCH("missing",A1)))

Click on the format button and the Patterns Tab to choose your
highlight colour. Click OK (twice) to apply these settings - Excel
will automatically adjust the cell references to suit your selected
cells, but if your first cell was not A1 then you will have to make
the appropriate changes to the formula I gave you.

Hope this helps.

Pete

On Jun 24, 3:16 pm, watermt wrote:
I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?





  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conditional Formatting

I think OR can take up to 31 arguments.

Pete

On Jun 24, 4:08*pm, watermt wrote:
Is there a limit to how many arguments I can use with your formula?

  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Conditional Formatting

Appreciate the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"watermt" wrote in message
...
RD,
Your formula and Pete's both worked as I had wished, thanks!

"RagDyeR" wrote:

In Conditional Formatting, select "Formula Is", and try this:

=OR(A1="",COUNTIF(A1,"*missing*")0)

Assumes "missing" may be combined with other text in the same cell.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"watermt" wrote in message
...
I'm attempting to do some conditional formatting on text. I need to
highlight cells that contain the word missing and also any cells that were
left blank.

is this possible?





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
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 04:36 AM.

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"