Newer Version Available
Sample Discounting Formulas
Use these formulas to calculate discount amounts.
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: All Editions |
For details about using the functions included in these samples, see Formula and Operator Functions.
Maintenance and Services Discount
This formula field uses two custom currency fields: Maintenance Amount and Services Amount. It displays “Discounted” on an opportunity if its maintenance amount and services amount don’t equal the opportunity Amount standard field value. Otherwise, it displays "Full Price."
1IF(Maintenance_Amount__c + Services_Amount__c <> Amount,
2"Discounted",
3"Full Price")Opportunity Discount Amount
This formula calculates the difference of the product Amount less the Discount Amount. Discount Amount is a custom currency field.
1Amount -
2 Discount_Amount__c