#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Color Cell

Hi,

Is there a way to color a cell with formula,
example, In cell "A4" I have the letters "FG" so I need a formula in
cell "A5" to look in cell "A4" and see if it = "FG" then color the
cell "Yellow" if not then leave as is.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Color Cell

You cannot do what you ask using formulas on the worksheet, but you can
using Conditional Formatting. Select all the cells you want to have this
feature and then click Format/ConditionalFormatting on Excel's menu bar. In
the dialog box that appears, select "Cell Value Is" from the first drop down
box, select "equal to" from the second drop down box and type ="FG" (that is
equal sign, quote mark, FG, quote mark) in the last edit field. Now click
the Format button, click on the Patterns tab on the dialog box that appears,
and select a yellow color. Finally, OK your way back to the worksheet. If
you type FG in any of the cells you originally had selected, the cell should
turn yellow in color.

Rick


wrote in message
...
Hi,

Is there a way to color a cell with formula,
example, In cell "A4" I have the letters "FG" so I need a formula in
cell "A5" to look in cell "A4" and see if it = "FG" then color the
cell "Yellow" if not then leave as is.

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Color Cell

Select A5 go to Conditional Formatting select new rule, select use a formula
and put this in the box for the formula:-
=A4="FG" Then click format fill and select your colour, click
OK, next box click OK, next box click apply. Thats it.
If the condition is true it will colour, if false it won't do anything.
Skinman

wrote in message
...
Hi,

Is there a way to color a cell with formula,
example, In cell "A4" I have the letters "FG" so I need a formula in
cell "A5" to look in cell "A4" and see if it = "FG" then color the
cell "Yellow" if not then leave as is.

Thanks.


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
Can't format cell color/text color in Office Excel 2003 in fil Tony S Excel Discussion (Misc queries) 1 December 21st 07 01:41 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
change fill color of a range of cells based on color of a cell? DarMelNel Excel Programming 0 March 2nd 06 06:35 PM
Can't format cell color/text color in Office Excel 2003 in files . albertaman Excel Discussion (Misc queries) 0 February 16th 06 03:56 AM
Browse Forms Controls and change TextBox color based on cell color StefanW Excel Programming 2 November 21st 04 07:06 PM


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