LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Conditional Formatting More than 3 with Formula

I've been searching for the last few days with no luck, so I thought I'd
post. Here's my situation:

I have a worksheet set up to track projects. In cell K3 I have the following
formula
=IF(AND(K$2=$G3,K$2<=$I3,$E3="Broiler"),1,IF(AND( K$2=$G3,K$2<=$I3,$E3="Hatchery"),2,IF(AND(K$2=$G 3,K$2<=$I3,$E3="Live
Haul"),3,IF(AND(K$2=$G3,K$2<=$I3,$E3="Feed
Mill"),4,IF(AND(K$2=$G3,K$2<=$I3,$E3="Breeder"),5 ,""))))). This formula is
copied through column IU and row 100.

I need to use conditional formatting to color the cell background and font
of the cells with the formula as follows: green (10) if the formula result is
1, violet (13) if the formula result is 2, red (3) if the formula result is
3, blue (5) if the formula result is 4, orange (46) if the formula result is
5, and white (0) if the formula result is "". I need this to happen if the
user adds or updates a value in column E, G, or I of the corresponding row.

I've tried putting together code from other posts, but I don't understand
what the code is doing well enough to make it work for me.

Any help anyone can provide is very appreciated.
bugsyb6
 
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
Conditional Formatting by formula fruitchunk Excel Discussion (Misc queries) 1 March 5th 10 01:22 AM
formula for conditional formatting SandyB Excel Worksheet Functions 3 May 29th 08 11:38 AM
Conditional formatting and formula jonas.ornborg Excel Worksheet Functions 3 May 19th 06 09:52 PM
Conditional formatting formula S3NTYN3L Excel Discussion (Misc queries) 11 February 2nd 06 07:06 AM
conditional formatting with FORMULA... Please HELP! Chris M Excel Discussion (Misc queries) 0 August 18th 05 11:51 PM


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