Apply Conditional Formatting based on multiple conditions

ngwilliams picture ngwilliams · Aug 6, 2013 · Viewed 58.3k times · Source

I'm attempting to highlight a cell based on two conditions, if the Work Type is equal to (blank), and if the cell itself is greater than 15%, then I want the cell under % Total Work highlighted. My sheet looks like this:

enter image description here

The only way I can think to do this is using the AND function, something like =AND($B:$B="(blank)";$D:$D>.15), but this produces an error. I'm very new to conditional formatting, so I may be missing something obvious. I'm using Excel 2010.

Answer

barry houdini picture barry houdini · Aug 6, 2013

You have to apply the formula that applies to the first cell in the range, so if you select the range D8:D100 or similar (where data starts at row 8) then apply this formula in conditional formatting

=AND(B8="(blank)";D8>0.15)

That should do what you need