It's a little more difficult than that as you have to test for the conditional formatting and evaluate the formula.

Can you provide a sample workbook with the conditional formatting in place?