B
bugsyb6
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>=$G3,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
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>=$G3,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