You need to sign in to do that
Don't have an account?
LJHOWE
Formula to calculate revenue goals by percentage, number of days and custom object name.
I have a custom object called Production Summary.
I want to calculate the current expected Life Sales by the Production Summary name.
I've got the math calculation, i.e. "Agency_Life_Goal*20/100/90*Number_of_days"
Now I just need to know how to tell it If "Production_Summary_Name -= "January 2010 Production" I want the formula above, February 2010 Production, I want the formula above, March 2010 Production, I want the formula above.
In the Second quarter, the formula changes to 40/100/180*Number of days.
Any Suggestions?
You can use the function Case
Case (Production_Summary_Name,
"January 2010 Production", Agency_Life_Goal*20/100/90*Number_of_days,
"February 2010 Production", Agency_Life_Goal*20/100/90*Number_of_days,
"March 2010 Production", Agency_Life_Goal*20/100/90*Number_of_days,
"April 2010 Production",Agency_Life_Goal*40/100/180*Number_of_days,
...
)
Marco