Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default applying conditional formatting to emtpy cells in a spreadsheet

I am looking for a way to apply conditional formatting to cells that are
blank in a spreadsheet, but I don't know how to represent a blank cell - I
have tried " " and "" with no luck. I am applying two conditions to an
entire column - one that says if the value is not equal to "Yes" (there can
be any number of alternate values in the cell) - then fill with red, I want
the second condition to be that if the cell is blank then no fill. The end
result I am looking for is that values of Yes and blank cells will not have
the conditional formatting applied - all others will be colored red. Maybe
I'm going about it backward.

Can this be done?

Thanks for any insights,
Gail
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default applying conditional formatting to emtpy cells in a spreadsheet

In the condition try

=ISBLANK(A1)
--
HTH,
Barb Reinhardt



"Gail" wrote:

I am looking for a way to apply conditional formatting to cells that are
blank in a spreadsheet, but I don't know how to represent a blank cell - I
have tried " " and "" with no luck. I am applying two conditions to an
entire column - one that says if the value is not equal to "Yes" (there can
be any number of alternate values in the cell) - then fill with red, I want
the second condition to be that if the cell is blank then no fill. The end
result I am looking for is that values of Yes and blank cells will not have
the conditional formatting applied - all others will be colored red. Maybe
I'm going about it backward.

Can this be done?

Thanks for any insights,
Gail

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default applying conditional formatting to emtpy cells in a spreadsheet

You can combine both these requirements into one conditional format.
Highlight all the cells you want this to apply to, and click on Format
| Conditional Formatting. In the CF dialogue box choose Formula Is
rather than Cell Value Is, and then enter this formula:

=AND(A1<"Yes",A1<"")

then click the Format button and choose your background colour of Red,
then OK your way out.

This assumes that the first cell highlighted is A1 - just change this
to suit your set up, and the formula will automatically adjust to suit
the other cells.

Hope this helps.

Pete

On Aug 5, 11:17*pm, Gail wrote:
I am looking for a way to apply conditional formatting to cells that are
blank in a spreadsheet, but I don't know how to represent a blank cell - I
have tried " " and "" with no luck. * I am applying two conditions to an
entire column - one that says if the value is not equal to "Yes" (there can
be any number of alternate values in the cell) - then fill with red, I want
the second condition to be that if the cell is blank then no fill. *The end
result I am looking for is that values of Yes and blank cells will not have
the conditional formatting applied - all others will be colored red. * Maybe
I'm going about it backward.

Can this be done?

Thanks for any insights,
Gail


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default applying conditional formatting to emtpy cells in a spreadshee

Worked Perfectly - thank you so very much!

Do you know if there is somewhere on the Microsoft site that I can learn
more about formulas and how they work? I am finding myself in these
situations more and more often, and I just don't know much more than the very
basics about formulas.



"Pete_UK" wrote:

You can combine both these requirements into one conditional format.
Highlight all the cells you want this to apply to, and click on Format
| Conditional Formatting. In the CF dialogue box choose Formula Is
rather than Cell Value Is, and then enter this formula:

=AND(A1<"Yes",A1<"")

then click the Format button and choose your background colour of Red,
then OK your way out.

This assumes that the first cell highlighted is A1 - just change this
to suit your set up, and the formula will automatically adjust to suit
the other cells.

Hope this helps.

Pete

On Aug 5, 11:17 pm, Gail wrote:
I am looking for a way to apply conditional formatting to cells that are
blank in a spreadsheet, but I don't know how to represent a blank cell - I
have tried " " and "" with no luck. I am applying two conditions to an
entire column - one that says if the value is not equal to "Yes" (there can
be any number of alternate values in the cell) - then fill with red, I want
the second condition to be that if the cell is blank then no fill. The end
result I am looking for is that values of Yes and blank cells will not have
the conditional formatting applied - all others will be colored red. Maybe
I'm going about it backward.

Can this be done?

Thanks for any insights,
Gail



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default applying conditional formatting to emtpy cells in a spreadsheet

If you're starting out with the default fill (which is "no fill", cells have
a white background) then you don't need to format for that.

So, what you need to do is check that the cell has *some* entry and that
entry is not "Yes".

Let's assume the range of interest is A1:A10
Select the range A1:A10
Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the little box on the right:

=AND(A1<"",A1<"yes")

Click the format button
Select the desired style(s)
OK out

Cells that contain formulas that return formula blanks will not be
formatted.

--
Biff
Microsoft Excel MVP


"Gail" wrote in message
...
I am looking for a way to apply conditional formatting to cells that are
blank in a spreadsheet, but I don't know how to represent a blank cell - I
have tried " " and "" with no luck. I am applying two conditions to an
entire column - one that says if the value is not equal to "Yes" (there
can
be any number of alternate values in the cell) - then fill with red, I
want
the second condition to be that if the cell is blank then no fill. The
end
result I am looking for is that values of Yes and blank cells will not
have
the conditional formatting applied - all others will be colored red.
Maybe
I'm going about it backward.

Can this be done?

Thanks for any insights,
Gail





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default applying conditional formatting to emtpy cells in a spreadshee

Thank you!

"Barb Reinhardt" wrote:

In the condition try

=ISBLANK(A1)
--
HTH,
Barb Reinhardt



"Gail" wrote:

I am looking for a way to apply conditional formatting to cells that are
blank in a spreadsheet, but I don't know how to represent a blank cell - I
have tried " " and "" with no luck. I am applying two conditions to an
entire column - one that says if the value is not equal to "Yes" (there can
be any number of alternate values in the cell) - then fill with red, I want
the second condition to be that if the cell is blank then no fill. The end
result I am looking for is that values of Yes and blank cells will not have
the conditional formatting applied - all others will be colored red. Maybe
I'm going about it backward.

Can this be done?

Thanks for any insights,
Gail

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default applying conditional formatting to emtpy cells in a spreadshee

Glad to hear that, Gail - thanks for feeding back.

The newsgroups that you have posted into have a vast amount of free
advice on Conditional Formatting and many other aspects of using Excel
- just browse through these to increase your knowledge.

Pete

On Aug 5, 11:39*pm, Gail wrote:
Worked Perfectly - thank you so very much!

Do you know if there is somewhere on the Microsoft site that I can learn
more about formulas and how they work? * I am finding myself in these
situations more and more often, and I just don't know much more than the very
basics about formulas.



"Pete_UK" wrote:
You can combine both these requirements into one conditional format.
Highlight all the cells you want this to apply to, and click on Format
| Conditional Formatting. In the CF dialogue box choose Formula Is
rather than Cell Value Is, and then enter this formula:


=AND(A1<"Yes",A1<"")


then click the Format button and choose your background colour of Red,
then OK your way out.


This assumes that the first cell highlighted is A1 - just change this
to suit your set up, and the formula will automatically adjust to suit
the other cells.


Hope this helps.


Pete


On Aug 5, 11:17 pm, Gail wrote:
I am looking for a way to apply conditional formatting to cells that are
blank in a spreadsheet, but I don't know how to represent a blank cell - I
have tried " " and "" with no luck. * I am applying two conditions to an
entire column - one that says if the value is not equal to "Yes" (there can
be any number of alternate values in the cell) - then fill with red, I want
the second condition to be that if the cell is blank then no fill. *The end
result I am looking for is that values of Yes and blank cells will not have
the conditional formatting applied - all others will be colored red. * Maybe
I'm going about it backward.


Can this be done?


Thanks for any insights,
Gail- Hide quoted text -


- Show quoted text -


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
Applying multiple distinct conditional formatting rules javier Excel Discussion (Misc queries) 3 July 7th 08 12:18 PM
Applying Conditional Formatting to Multiple Worksheets - Excel 200 David Excel Discussion (Misc queries) 0 September 22nd 07 05:50 PM
Applying Conditional Formatting to Muliple Worksheets in Excel 200 David Excel Discussion (Misc queries) 0 September 16th 07 11:10 PM
Applying conditional formatting to a workbook in excel 2003 kuroitenpi Excel Discussion (Misc queries) 1 November 29th 06 07:05 PM
Applying conditional formatting to cell based on another cell's in kdesemple Excel Discussion (Misc queries) 1 March 22nd 06 06:37 PM


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