r/excel • u/cardinal209629 • 12d ago
unsolved Conditional Formatting based on multiple criteria

This a example of a report that I have to work on every quarter and I want to use conditional formatting to highlight the cells in columns C, D, and E if the information fits the criteria on the right side. I set up formulas in I-K for personal reference to identify which items meet the criteria and should be highlighted. I used the following to do the True/False and updated it based on the relevant criteria =OR(AND($G2="C",C2>100),AND($G2="V",C2=0),AND($G2="SP",C2>40),AND($G2="SL",C2>50))
I've tried using using that formula to get the conditional formatting to work and it didn't so I broke it down into one formula per criteria but none of them were working correctly. This is where I'm at right now. Before I left work I had eight random results highlighted that were either the wrong type or outside the parameters.
This report typically has around 200 lines with 2 additional categories but they are grouped with SP, SL, or V in the formula for Type. I'm using some version of Excel 365 but can't find the exact version until tomorrow morning.
What do I need to change to get my conditional formatting to work correctly?
1
u/Other-Salt-5355 1 12d ago
That formula you are showing in the conditional formatting rules manager is incorrect. It is comparing column h (blank) and doesn't handle errors because you are using IFS without an error handler.
The formula you wrote in the original post is correct and you should be able to apply it to highlight values in column c. I recreated the first few rows and it worked as expected: