You need to sign in to do that
Don't have an account?
Robin Thomas 19
If a field contains a value then use this formula to determine the output
I keep receiving a "Missing ) Error"
IF(Acq_Comm_Calc__c CONTAINS $500),Estimated_Net_Profit_Retail_Renovation__c+500,
IF(AND Acq_Comm_Calc__c CONTAINS 8%),Estimated_Net_Profit_Retail_Renovation__c*0.08,
IF(AND Acq_Comm_Calc__c CONTAINS 10%),Estimated_Net_Profit_Retail_Renovation__c*0.1,
IF(AND Acq_Comm_Calc__c CONTAINS 12%),Estimated_Net_Profit_Retail_Renovation__c*0.12,
IF(AND Acq_Comm_Calc__c CONTAINS 15%),Estimated_Net_Profit_Retail_Renovation__c*0.15,
IF(Acq_Comm_Calc__c CONTAINS $7000),Estimated_Net_Profit_Retail_Renovation__c+7000,)
)
)
)
)
)
IF(Acq_Comm_Calc__c CONTAINS $500),Estimated_Net_Profit_Retail_Renovation__c+500,
IF(AND Acq_Comm_Calc__c CONTAINS 8%),Estimated_Net_Profit_Retail_Renovation__c*0.08,
IF(AND Acq_Comm_Calc__c CONTAINS 10%),Estimated_Net_Profit_Retail_Renovation__c*0.1,
IF(AND Acq_Comm_Calc__c CONTAINS 12%),Estimated_Net_Profit_Retail_Renovation__c*0.12,
IF(AND Acq_Comm_Calc__c CONTAINS 15%),Estimated_Net_Profit_Retail_Renovation__c*0.15,
IF(Acq_Comm_Calc__c CONTAINS $7000),Estimated_Net_Profit_Retail_Renovation__c+7000,)
)
)
)
)
)
Please correct your above formula with this, I think that may be causing the issue
All Answers
What is the data type of Acq_Comm_Calc__c?
IF(Estimated_Net_Profit_Retail_Renovation__c <= 6000 ,'$500(flat fee)',
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 6000 , Estimated_Net_Profit_Retail_Renovation__c <= 24000 ), "8%",
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 24000 , Estimated_Net_Profit_Retail_Renovation__c <= 32000 ), "10%",
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 32000 , Estimated_Net_Profit_Retail_Renovation__c<= 40000 ), "12%",
If(AND(Estimated_Net_Profit_Retail_Renovation__c> 40000 , Estimated_Net_Profit_Retail_Renovation__c <= 46667 ), "15%",
If(Estimated_Net_Profit_Retail_Renovation__c > 46667 , "$7000(flat fee)","")
)
)
)
)
)
Did it work?
It is giving me this error
It worked in my org.
Can you share the screen shot of it?
Are you using formula into formula? There is more going on there, how you are applying this? Also you window look very different. I guess you are applying this in the formula field.
I am needing help writing out a formula field. If the net income is in a certain range I need the field to display the Net by the % it corresponds with.
=Net Income MLS Wholesale X the percentage level belows
Example: If the Net Income is $6,050 the I need this field to display: $484 (Which would be $6,050 * 0.08) Since it falls in the 8% Category
≤ $6000 $500(flat fee)
> $6,001 ≤ $24,000 8%
> $24,001 ≤ $32,000 10%
> $32,001 ≤ $40,000 12%
> $40,001 ≤ $46,667 15%
> $46,668 $7,000(flat fee)
- Acq_Comm_Calc__c
- Estimated_Net_Profit_Retail_Renovation__c
Looks like all these accumulating to number of characters issue you are facing.You mentioned Net Income, where is that in your given formula?
Estimated_Net_Profit_Retail_Renovation__c+500
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 6000 , Estimated_Net_Profit_Retail_Renovation__c <= 24000 ),
Estimated_Net_Profit_Retail_Renovation__c*0.08
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 24000 , Estimated_Net_Profit_Retail_Renovation__c <= 32000 ), Estimated_Net_Profit_Retail_Renovation__c*0.1
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 32000 , Estimated_Net_Profit_Retail_Renovation__c<= 40000 ), Estimated_Net_Profit_Retail_Renovation__c*0.12
If(AND(Estimated_Net_Profit_Retail_Renovation__c> 40000 , Estimated_Net_Profit_Retail_Renovation__c <= 46667 ), Estimated_Net_Profit_Retail_Renovation__c*0.15
If(Estimated_Net_Profit_Retail_Renovation__c > 46667 ,Estimated_Net_Profit_Retail_Renovation__c+7000)
)
)
)
This is one I just tried and it gave me "Error: Syntax error. Extra ','"
IF(Estimated_Net_Profit_Retail_Renovation__c <= 6000 ,'$500(flat fee)',
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 6000 , Estimated_Net_Profit_Retail_Renovation__c <= 24000 ), "8%",
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 24000 , Estimated_Net_Profit_Retail_Renovation__c <= 32000 ), "10%",
If(AND(Estimated_Net_Profit_Retail_Renovation__c > 32000 , Estimated_Net_Profit_Retail_Renovation__c<= 40000 ), "12%",
If(AND(Estimated_Net_Profit_Retail_Renovation__c> 40000 , Estimated_Net_Profit_Retail_Renovation__c <= 46667 ), "15%",
If(Estimated_Net_Profit_Retail_Renovation__c > 46667 , "$7000(flat fee)","")
)
)
)
)
)
Estimated_Net_Profit_Retail_Renovation__c
Estimated_Gross_ProfitRetail__c-Closing_Costs_Retail_Renovation__c
Sorry I meant Net Profit
Please correct your above formula with this, I think that may be causing the issue