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  

Conditional Formatting Help when a Cell is Blank



 
 
Thread Tools Display Modes
  #1  
Old March 22nd, 2010, 03:20 PM posted to microsoft.public.excel.worksheet.functions
Nickle
external usenet poster
 
Posts: 4
Default Conditional Formatting Help when a Cell is Blank

I am trying to format a cell that has three scenario's.

1. If A1=B1, then the text will be green
2. If A1 does not equal B1, then the text will be red
3. If B1 is empty/blank, then A1 has no formatting.

The value of B1 is dependant on a value that is selected from the Master
Sheet. So B1 has a formula that is attached to it.

I am having difficulties getting A1 to have no formatting if nothing has
been filled/selected for B1. Any ideas would help.

Thanks
  #2  
Old March 22nd, 2010, 03:40 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Conditional Formatting Help when a Cell is Blank

Hi,
in conditional formating enter

=AND(B1"",B1A1)

then set up the colour to be red

"Nickle" wrote:

I am trying to format a cell that has three scenario's.

1. If A1=B1, then the text will be green
2. If A1 does not equal B1, then the text will be red
3. If B1 is empty/blank, then A1 has no formatting.

The value of B1 is dependant on a value that is selected from the Master
Sheet. So B1 has a formula that is attached to it.

I am having difficulties getting A1 to have no formatting if nothing has
been filled/selected for B1. Any ideas would help.

Thanks

  #3  
Old March 22nd, 2010, 05:20 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Conditional Formatting Help when a Cell is Blank

Hi Nickle,
try this, open a new workbook, in cell a1 enter conditional formating, where
the formula is, type the formula, ok, then open the conditional formating
again and check that the formula is exactly the same I has sent to you, if
you see " at the beginning or end of the formula delete it

"Nickle" wrote:

A1 still comes back with Red lettering when using this formula even though B1
has no value in the cell. Any idea?

 




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 09:14 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.