Forum Discussion
Conditional Formatting
I want to conditionally format the following data to be based on multiple cells data.
If G2>0, but F2=0, then the whole row has a red fill. If F2 and G2 both =0, a yellow fill, if F2>0, no matter G2's value, a green fill
I know how to format based on one value, so I can fill in the green based on F2>0, but how do you base the conditional formatting on the separate values of two cells?
Day | District | Route | CarrierLastName | CarrierFirstName | Current % | Current-7 | Current-14 |
Wednesday | 1501 | 18239 | WHITELEY | KIM | 0.00% | 50.00% | 0.00% |
Wednesday | 1501 | 04139 | SICHKAR | LYUBOV | 0.00% | 0.00% | 0.00% |
Wednesday | 1501 | 04171 | SICHKAR | LYUBOV | 0.00% | 0.00% | 0.00% |
Wednesday | 1501 | 04156 | PICKEL | RENE | 100.00% | 0.00% | 0.00% |
Wednesday | 1501 | 01177 | PICKEL | RENE | 96.00% | 0.00% | 0.00% |
Wednesday | 1501 | 04148 | PICKEL | RENE | 80.00% | 0.00% | 0.00% |
Wednesday | 1501 | 01130 | NELSON | KERI | 94.00% | 0.00% | 94.00% |
Wednesday | 1501 | 01157 | NELSON | KERI | 72.00% | 0.00% | 100.00% |
Wednesday | 1501 | 01165 | NACCARATO | JOHN | 0.00% | 25.00% | 0.00% |
Wednesday | 1501 | 01128 | MOYSEYENKO | OLEKSIY | 100.00% | 100.00% | 100.00% |
Wednesday | 1501 | 43102 | MOYSEYENKO | OLEKSIY | 89.00% | 0.00% | 91.00% |
Wednesday | 1501 | 01133 | MOYSEYENKO | OLEKSIY | 37.00% | 81.00% | 97.00% |
Wednesday | 1501 | 04142 | KRAUSS | JOHN | 100.00% | 100.00% | 100.00% |
Wednesday | 1501 | 04140 | KRAUSS | JOHN | 98.00% | 98.00% | 100.00% |
Wednesday | 1501 | 18121 | KORZONTHOWSKI | MATTHEW | 0.00% | 0.00% | 0.00% |
Wednesday | 1501 | 18147 | KORZONTHOWSKI | MATTHEW | 0.00% | 0.00% | 0.00% |
Wednesday | 1501 | 18151 | KORZONTHOWSKI | MATTHEW | 0.00% | 0.00% | 0.00% |
Wednesday | 1501 | 18225 | KORZONTHOWSKI | MATTHEW | 0.00% | 0.00% | 0.00% |
- Matt MickleBronze Contributor
Null Null-
You'll need to make 3 separate rules. If you want to have one evaluated before another or vice versa you can reorder the them in the Conditional Formatting Pane by using the arrow keys to move the order of evaluation. Please see the attached file for reference:
The formulas I have used are as follows:
Red =AND($F2=0,$G2>0)
Yellow=AND($F2=0,$G2=0)
Green=$F2>0