Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Make cell turn different colour

Hi

I have a spreadsheet with names in Column A. I want the cell containing the
name to turn RED if there's a "C" in columns C to AF for each row, YELLOW if
there's an "A" and GREEN, if there's an "R".

I've tried using an IF statement in Conditional Formatting and also using a
range = "C" etc, but neither seems to work. Help please?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Make cell turn different colour

what was the if statement you used?
actually you dont need an if statement

what happens if there is a C in one cell and and R in another?
If there can only be one
try
countif(C1:AF1,"C")0
for your formula is in conditional formatting

and similar for the other two colors

If there can be more than one, make sure you have your order set up properly
in conditional formating

"bollard" wrote:

Hi

I have a spreadsheet with names in Column A. I want the cell containing the
name to turn RED if there's a "C" in columns C to AF for each row, YELLOW if
there's an "A" and GREEN, if there's an "R".

I've tried using an IF statement in Conditional Formatting and also using a
range = "C" etc, but neither seems to work. Help please?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Make cell turn different colour

Hi bj

Many many thanks for that.

It works a treat!

"bj" wrote:

what was the if statement you used?
actually you dont need an if statement

what happens if there is a C in one cell and and R in another?
If there can only be one
try
countif(C1:AF1,"C")0
for your formula is in conditional formatting

and similar for the other two colors

If there can be more than one, make sure you have your order set up properly
in conditional formating

"bollard" wrote:

Hi

I have a spreadsheet with names in Column A. I want the cell containing the
name to turn RED if there's a "C" in columns C to AF for each row, YELLOW if
there's an "A" and GREEN, if there's an "R".

I've tried using an IF statement in Conditional Formatting and also using a
range = "C" etc, but neither seems to work. Help please?

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
Turn Cell Colour Mike Excel Discussion (Misc queries) 0 January 19th 07 08:25 PM
how to create a if statement, if true turn colour Yashes Excel Worksheet Functions 3 October 24th 06 11:12 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
HOW do i make a box change colour kayleigh Excel Discussion (Misc queries) 2 September 26th 05 01:41 PM
How do I make it change colour raven_guy Excel Worksheet Functions 4 June 8th 05 04:00 PM


All times are GMT +1. The time now is 02:18 AM.

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"