Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Conditional Formatting Help when a Cell is Blank

Hi,
in conditional formating enter

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

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
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?

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
Conditional Formatting if cell is Blank Judi Excel Worksheet Functions 3 April 25th 23 07:42 PM
conditional formatting date and blank cell Audrey G. Excel Discussion (Misc queries) 4 August 19th 09 10:24 PM
Conditional formatting - check for blank cell Eric_NY Excel Discussion (Misc queries) 3 August 18th 09 05:08 PM
put zero in blank cell using conditional formatting Terry Excel Worksheet Functions 5 March 22nd 07 08:38 PM
conditional formatting blank cell TREK5200 Excel Discussion (Misc queries) 1 December 6th 04 02:23 AM


All times are GMT +1. The time now is 12:03 PM.

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"