I am attempting to highlight cells that are greater than 15. But it's highlighting all of the cells in the row. I have a formula in the row so I do not know if that is messing with it. The formula is:
=IFERROR(IF(E7="","0", IF(NETWORKDAYS(E7,O7,MenuData!$G$3:$G$22)<0, "0", (NETWORKDAYS(E7,O7,MenuData!$G$3:$G$22)-1))),0)
I select the entire column that I want to apply the conditional formatting, select highlight cell rules.> greater than > and then put for it to select cells greater than 15 and to highlight them red. It then highlights everything greater than 15 but also selects the zeros that are 0 due to the if/iferror statements in the formula.
21 Answer
Instead of formula you can also use Conditional Formatting.
- Go to Home Tab.
- Select the area you want to format. In your case Area is
- Select "CONDITIONAL FORMATTING" from the Menu.
- Select "NEW RULE".
- Select option " Format Only Cells that contain value...”.
- From Drop Down Tabs select : " Cell Value " , " Greater than" , 15 "
- Format as you want Colour, Fill etc.