Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how to change color of cell based on contents of cell

how do i change the color of a cell based on the contents of the cell. ex.
when the cell says stop the color of the cell turns red, when contents go
turns to green
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how to change color of cell based on contents of cell


robert wake;244700 Wrote:
how do i change the color of a cell based on the contents of the cell.
ex.
when the cell says stop the color of the cell turns red, when contents
go
turns to green


Go to Format - Conditional formatting - Change to "Formula is" enter
a1="red" ( if the cell is a1 - set your pattern to red
click and and to the same for a1="green" and set pattern to green


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=68241

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default how to change color of cell based on contents of cell

Hi Robert,
use conditional formation, where the formula is and there you enter ="Stop"
and choose the red color, then enter another formula which will be
="Go" and choose the color green

"robert wake" wrote:

how do i change the color of a cell based on the contents of the cell. ex.
when the cell says stop the color of the cell turns red, when contents go
turns to green

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default how to change color of cell based on contents of cell

OPPs I didn't include the cell
Suppose the cell that contains Stop and Go is A1 so the formulas will be

A1="Stop" red color
A1="Go" Green color

"robert wake" wrote:

how do i change the color of a cell based on the contents of the cell. ex.
when the cell says stop the color of the cell turns red, when contents go
turns to green

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
How to change cell contents based on date? tgcali Excel Discussion (Misc queries) 3 November 17th 08 08:06 PM
Change Text Color in one cell based upon entry in referenced cell Tee Excel Discussion (Misc queries) 3 September 12th 08 10:07 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
How do I change cell color based upon data range within the cell? Chris Sanders Excel Worksheet Functions 1 March 6th 06 08:59 PM
Change cell color based on contents bre Excel Discussion (Misc queries) 2 November 10th 05 12:39 AM


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