You need to sign in to do that
Don't have an account?
Sienna Luard 3
formula field based on Forecast Category
We need a formula field that does the following:
If the Forecast Category is Pipeline - Amount x 10%
If the Forecast Category is Best Case - Amount x 60%
If the Forecast Category is Committed - Amount x 90%
I have come up with the following formula:
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.10)+
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.60)+
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.90)
I get the following error.
Error: Incorrect number of parameters for function 'IF()'. Expected 3, received 2
If the Forecast Category is Pipeline - Amount x 10%
If the Forecast Category is Best Case - Amount x 60%
If the Forecast Category is Committed - Amount x 90%
I have come up with the following formula:
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.10)+
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.60)+
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.90)
I get the following error.
Error: Incorrect number of parameters for function 'IF()'. Expected 3, received 2
All Answers
Since it is nested, each ELSE statement will require another IF statement
And then a default result, in this case 0.
Try something like:
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.10),
IF( ISPICKVAL( ForecastCategoryName ,"Best Case" ) , Amount *0.60),
IF( ISPICKVAL( ForecastCategoryName ,"Pipeline" ) , Amount *0.90) ,
0
)
)
)
Regards
Andrew
I am getting the following error with your formula.
Error: Syntax error. Extra ','
I do not see an extra , .
What am I missing?
That works perfectly.
Thansk again for your help. (-: