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 do i change cell background colour depending on its content?

Hi all,

Im trying to create a worksheet so that a cell background changes colour
depending on whether a Y or N is input into the cell.

I have looked in the help but to no avail!

Thanks for any help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default how do i change cell background colour depending on its content?

format / Conditional Formatting

"demble" wrote:

Hi all,

Im trying to create a worksheet so that a cell background changes colour
depending on whether a Y or N is input into the cell.

I have looked in the help but to no avail!

Thanks for any help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
LT LT is offline
external usenet poster
 
Posts: 25
Default how do i change cell background colour depending on its content?

On May 2, 12:17 pm, demble wrote:
Hi all,

Im trying to create a worksheet so that a cell background changes colour
depending on whether a Y or N is input into the cell.

I have looked in the help but to no avail!

Thanks for any help!


Hello there.

I believe you want to use conditional formatting for your task.

1)Select all your cells that you want to have this conditional
formatting.
2)Goto Format, look lower on the menu list for Conditional Formatting.
3)Start with Condition 1. that line should read "Cell value is"...
(next over) "Equal to" (next over) Type a "Y". (It is NOT case
sensitive, so either a Y or y will do.
4)Then click on the format button for Condition 1. Goto "Patterns"
tab, choose your color that you want, then choose ok.
5)Don't exit yet. Now do the same thing for Condition 2 but this
time, where you typed a Y for Condition 1, type a "N" and set your
OTHER color that you want.
6)Click ok, then test to see if it worked.

Hope that helped!

-LT

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 a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
Background Colour Depending On Input Macca Excel Discussion (Misc queries) 1 April 30th 06 01:05 AM
changing the colour of cells depending on the content. johnny.exe Excel Discussion (Misc queries) 3 January 26th 06 09:41 AM
How can i change cell colour depending on month of date in cell? andy75 Excel Discussion (Misc queries) 2 January 6th 06 07:46 AM
change background colour cityfc Excel Discussion (Misc queries) 1 November 11th 05 01:03 PM


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