To do this just use the "Number" option in the conditional formatting as per the screen grab. Note: The formula must return a number, date, or time value. This is explained in the Excel help (my version is 2010) Since either an IF statement or other boolean functions return true/false, they will not work.