#1   Report Post  
Posted to microsoft.public.excel.misc
sed sed is offline
external usenet poster
 
Posts: 24
Default If then statement

how can I create an if then statement which if the value of the cell a1 is XX
then the cell's background color becomes blue... if cell a2 is xy then color
is green... and if value of a3 is yy then color is red...
ANY HELP?
--
sss
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default If then statement

Use conditional formatting

Format - Conditional Formatting


On Jun 11, 3:52 pm, sed wrote:
how can I create an if then statement which if the value of the cell a1 is XX
then the cell's background color becomes blue... if cell a2 is xy then color
is green... and if value of a3 is yy then color is red...
ANY HELP?
--
sss


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default If then statement

sed

In addition to Tim879 when you get into the conditional formating window,
choose "Formula is" then enter =A1="XX" Select format and formate as you want.
select "Add" choose "Formula is" then enter =A2="XY" Formate as you want.
Select "Add" Choose "Formula is" then enter =A3="YY" Formate as you want.


Mike Rogers

"sed" wrote:

how can I create an if then statement which if the value of the cell a1 is XX
then the cell's background color becomes blue... if cell a2 is xy then color
is green... and if value of a3 is yy then color is red...
ANY HELP?
--
sss

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 an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
V LOOK UP AND IF STATEMENT Katie Excel Worksheet Functions 2 January 25th 07 02:07 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


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