+ Start a Discussion
Ajay Kumar 583Ajay Kumar 583 

How to create a formula for percentage?

How to Create a formula field on Opportunity to show the percentage difference between Amount vs Expected Revenue.
Best Answer chosen by Ajay Kumar 583
Ajay K DubediAjay K Dubedi
Hi Ajay,
Try this formula to calculate the percentage difference between Amount vs Expected Revenue:
if(AND(Amount > 0, ExpectedRevenue > 0),  ABS( Amount - ExpectedRevenue ) / (( Amount + ExpectedRevenue )/2)*100, null)
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi