Hi All,
I was wondering if someone could help with formatting (colour) cell based on a value being greater than and also equal to.
Data can be many rows down and across. start of range for formatting will be I6
If value in column D is greater than value in row 4 then green else if value in D is equal then yellow else nothing.
I have added conditional formatting to show what i need.
Thanks in advance.
I was wondering if someone could help with formatting (colour) cell based on a value being greater than and also equal to.
Data can be many rows down and across. start of range for formatting will be I6
If value in column D is greater than value in row 4 then green else if value in D is equal then yellow else nothing.
I have added conditional formatting to show what i need.
Format based on value.xlsx | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |||
1 | ||||||||||||||||||||||
2 | ||||||||||||||||||||||
3 | ||||||||||||||||||||||
4 | 1 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 95 | 100 | ||||||||||
5 | Col1 | Col2 | Col3 | Col4 | Col5 | Col6 | Col7 | Col8 | Desc1 | Desc2 | Desc3 | Desc4 | Desc5 | Desc6 | Desc7 | Desc8 | Desc9 | Desc10 | Desc11 | Desc12 | ||
6 | 123 | 0030222631 | 0029670100 | 50 | ||||||||||||||||||
7 | 165 | 0030476402 | 0029670093 | 80 | ||||||||||||||||||
8 | ||||||||||||||||||||||
9 | ||||||||||||||||||||||
10 | Conditional formatting used | |||||||||||||||||||||
11 | ||||||||||||||||||||||
12 | ||||||||||||||||||||||
13 | ||||||||||||||||||||||
14 | ||||||||||||||||||||||
15 | ||||||||||||||||||||||
16 | ||||||||||||||||||||||
17 | ||||||||||||||||||||||
18 | ||||||||||||||||||||||
19 | ||||||||||||||||||||||
20 | ||||||||||||||||||||||
21 | ||||||||||||||||||||||
22 | ||||||||||||||||||||||
23 | ||||||||||||||||||||||
Sheet1 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
J6:J7 | Expression | =IF($D6=J$4,TRUE,FALSE) | text | NO |
J6:J7 | Expression | =IF($D6>J$4,TRUE,FALSE) | text | NO |
I7 | Expression | =IF($D7=I$4,TRUE,FALSE) | text | NO |
I7 | Expression | =IF($D7>I$4,TRUE,FALSE) | text | NO |
I6,K6:T7 | Expression | =IF($D6=I$4,TRUE,FALSE) | text | NO |
I6,K6:T7 | Expression | =IF($D6>I$4,TRUE,FALSE) | text | NO |
Thanks in advance.