So, select your range E4:F24, on the menu select Format/Conditional Formatting, in the very first drop down change it from "Cell Value Is" to "Formula Is", and enter =AND(ABS($E4)>5000,ABS($F4)>0.05) , then click the "Format" button and set your pattern.