View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Sheeloo[_3_] Sheeloo[_3_] is offline
external usenet poster
 
Posts: 1,805
Default Conditional formatting in Excel 2003

Use conditional formatting

Select the cells in the rowS you want to highlight
in the first condition choose formula is and enter
=$A1="Yes"
and format as green
in second
$A1="No" and format as red

If it does not work then go back and make sure that the formula is exactly
like
=$A1="Yes"

$ before A is important...


--
Always provide your feedback...


"Bruce McGinnis" wrote:

How can I format one cell based on the contents of another cell. I would like
to have the color of a row of cells change automatically based on the
contents of one of the cells in the subject row. Example: if A1 reads "YES",
then I want cells A1 through G1 to change color from no color to green. if A1
reads "NO", then I want cells A1 through G1 to change color to red and if A!
is blank, then I want the cells to stay with no color.