View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
brewster56 brewster56 is offline
external usenet poster
 
Posts: 24
Default Conditional Formatting or ???

For a currency calc., I make a comparison between 2 values. If one value is
greater than another - color = green. If same comparision yields no change -
then color = black, if comparison yields less than value - color = red (but
want to format using ($xxx.xx).

Here is calc I use in H2 : =IF(F2G2,E2*F2,E2*G2). E2;F2;G2 are all number
fields. E2;F2 contain actual numbers, while G2 contains the following
formula =C2-(C2*0.1).

I get it to work to a degree, but not perfectly. I get the red/green/black -
but NOT the ($xxx.xx) when red (less than) comparison.

Is it because of the formula I use if H2 ? Because the column right beside
it (I2) has the following formula and works perfectly =SUM(H2-D2). That is
the only real difference between the columns.