Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
sbwilliams
 
Posts: n/a
Default How do I use cond format formula to set cell text and color?

Using MS Excel 2003:

As and example, I entered into Conditional Format for cell B1:
"Formula is", IF(A1="","Test",""). For true condition, the format is set to
fill Yellow and font color red.

I'm expecting cell B1 to display, "Test" in red text with yellow background
when A1 is blank, but it does not work. No errors are displayed. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default How do I use cond format formula to set cell text and color?

in my experience you can only set the format,you cant have the word test show
up.Apply the format condition only using =A1="" and put a seperate if
statement in the cell.If it blank test will be red
--
paul
remove nospam for email addy!



"sbwilliams" wrote:

Using MS Excel 2003:

As and example, I entered into Conditional Format for cell B1:
"Formula is", IF(A1="","Test",""). For true condition, the format is set to
fill Yellow and font color red.

I'm expecting cell B1 to display, "Test" in red text with yellow background
when A1 is blank, but it does not work. No errors are displayed. Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default How do I use cond format formula to set cell text and color?

On Sat, 7 Jan 2006 14:00:02 -0800, "sbwilliams"
wrote:

Using MS Excel 2003:

As and example, I entered into Conditional Format for cell B1:
"Formula is", IF(A1="","Test",""). For true condition, the format is set to
fill Yellow and font color red.

I'm expecting cell B1 to display, "Test" in red text with yellow background
when A1 is blank, but it does not work. No errors are displayed. Any ideas?


You're doing it wrong.

Put your formula in cell B1.

For your conditional format:

Cell Value Is Equal To: Test


--ron
  #4   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default How do I use cond format formula to set cell text and color?

Hi

Your formula for B1 is fine.
For Conditional Format, all you require is =A1=""

--
Regards

Roger Govier


"sbwilliams" wrote in message
...
Using MS Excel 2003:

As and example, I entered into Conditional Format for cell B1:
"Formula is", IF(A1="","Test",""). For true condition, the format is
set to
fill Yellow and font color red.

I'm expecting cell B1 to display, "Test" in red text with yellow
background
when A1 is blank, but it does not work. No errors are displayed. Any
ideas?



  #5   Report Post  
Posted to microsoft.public.excel.misc
Ken Johnson
 
Posts: n/a
Default How do I use cond format formula to set cell text and color?

What if you change formula in B1's Formula Is to =A1 =""
Then, when A1 is blank B1 will adopt the yellow fill and red font
color.
Ken Johnson

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
Change color of a cell if another cell has text in it Danielle Excel Discussion (Misc queries) 1 October 12th 05 03:31 PM
text color change in cell reference TomKat743 Excel Discussion (Misc queries) 3 June 16th 05 12:38 AM
Cell text color change Steffen Excel Discussion (Misc queries) 1 February 23rd 05 10:31 PM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:02 PM.

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"