How can I get magiccell to use the greater than, or less than logic to compare two fields and display the result in the a different font color.

IE: if field 1 > field 2 then field 1 should display green, if field 1 < field 2 it should be red.

I can get it to work using values but not different fields in an sql query.

Any clues ?