Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apply Conditional Formatting based on multiple conditions

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.

like image 489
ngwilliams Avatar asked Aug 06 '13 19:08

ngwilliams


People also ask

How do I apply multiple conditional formatting in Excel?

Step 1) Please select range D2:D13. Step 2) Go to Home tab > click on Conditional Formatting drop-down > click on New Rule > click on Use a formula to determine which cells to format > write the formula: =C2="started". Step 3) Click on Format to apply formatting. Click on OK . .

How do you do conditional formatting with 3 conditions?

Select the range of cells, the table, or the whole sheet that you want to apply conditional formatting to. On the Home tab, click Conditional Formatting. Click New Rule. Select a style, for example, 3-Color Scale, select the conditions that you want, and then click OK.


1 Answers

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

like image 65
barry houdini Avatar answered Sep 28 '22 21:09

barry houdini