Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
- (Subtract)

- (Subtract)

Calculates the difference of two values.

Use

value1 - value2 and replace each value with merge fields, expressions, or other numeric values.

Calculate Difference Example
Calculate Difference Example

This formula calculates the difference of the product Amount less the Discount Amount. Discount Amount is a custom currency field.

Amount - Discount_Amount__c

Report Example
Report Example

AMOUNT:SUM - Product.Discount_Amount__c:SUM calculates the difference of all Amount fields and all Discounted Amount custom fields on the products in your report. This formula is a currency data type that returns a currency sign and decimal places.

 
Loading
Salesforce Help | Article