6 Replies Latest reply on Jul 12, 2013 1:22 PM by RCHouston1

    Calculate the % of Change

    RCHouston1

      I need to calculate the % change from A to B.  I've used the Simplified field notation and came up with the correct value:

       

      (A-B)/B

       

      However, I need this value to be formatted as a percentage and "A" and "B" are formatted as currency.  I formatted the field and I get the error "The Value Entered does not match the format of the field [field name]"

       

      When I change the format to "none" and change the formula to ((A-B)/B)*100 I get the correct value with no errors however I don't get the % sign and I have no control over decimal places.

       

      Common issues I've seen in researching this is field names and all mine are alpha characters.

       

      Is it possible to use the SFN with multiple field formats? If not, how do I write this in JavaScript?