Quick question,

I there a way to conditionally format a cell based on the the part of a formula used?

For example using an if formula

=IF(A1=B1,A1-B1,B1-A1)

Is it possible to condionally format the cell because the TRUE formula was used or if the FALSE was used?

The above is a simplified version of the problem I have. There is no way of checking based on the result which formula has been used because the results are so comparable. I'm looking for conditionally formatting based on the formula and not the result.