You need to sign in to do that
Don't have an account?
Liz Carter
Currency Formula Field on Opportunity
I'm trying to write a formula field on Opportunity object involving 2 fields - Amount, and a custom number field, License_Period_months__c. The goal is to calculate an amount based on 3 different scenarios of contract length:
Logic:
If
License_Period_months__c = 12, Amount
If
License_Period_months__c = 24, Amount * 2 * .15
If
License_Period_months__c = 36, Amount * 3 * .30
I am not sure of the correct way to write the formula involving the IF statements, as I keep getting errors. I'm attempting to do this on a formula (currency) field type on opp. thanks!
Logic:
If
License_Period_months__c = 12, Amount
If
License_Period_months__c = 24, Amount * 2 * .15
If
License_Period_months__c = 36, Amount * 3 * .30
I am not sure of the correct way to write the formula involving the IF statements, as I keep getting errors. I'm attempting to do this on a formula (currency) field type on opp. thanks!
https://help.salesforce.com/articleView?id=customize_functions_a_h.htm&type=5
CASE(License_Period_months__c, 12, Amount * 2 * .15...
Else you have to put If in if ->
IF(logical_test, value_if_true, IF(logical_test, value_if_true, IF(logical_test, value_if_true, value_if_false))) ...
thank you,