% Difference Formula

AndrewKent

Well-known Member
Joined
Jul 26, 2006
Messages
889
If I wanted to find the % difference with two numbers I can do this manually...

Code:
=6.9/4.9-100%

...is a 40.82% difference.

However is there a formula that will work out a % difference between two figures without having to do this manually?

Cheers,

Andy
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
You mean?

=A1/A2-100% where A1 and A2 house the numbers to evaluate?
 
Upvote 0
yeah i just wondered if there was an actual formula for that As we have =SUM(A1:A2) will do the same job as =A1+A2

Andy
 
Upvote 0
There is no built in function, (I assume that's what you meant) but here is a UDF:


Function percentchange(newvar As Double, oldvar As Double) As Double
'formula: (new-old)/old
percentchange = (newvar - oldvar) / oldvar
End Function

Gene, "The Mortgage Man", Klein
 
Upvote 0
Thanks,

I was foolishly looking for a formula along the lines of =DIFFERENCE(A1,A2) but there was nothing,

Thanks anyway,

Andy
 
Upvote 0

Forum statistics

Threads
1,226,349
Messages
6,190,444
Members
453,609
Latest member
iamcpdev

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top