Easy "percent change" calculation?

mniedert

Board Regular
Joined
Apr 13, 2005
Messages
72
It seems like I'm always trying to calculate the percent change between two values and for some reason I can't remember the proper formula.

I'd like to make my life easier by selecting a cell then have a custom button in the toolbar which would prmpt me to select the each of the two cells containing the values and it would put calculate the percent change for me and put in in the cell.

For example A1 has 375 in it and A2 has 300 in it. I select cell B1...hit the custom button and would be prompted for the cell containing the first number and after selecting A1, it would prompt me for the cell containing the second number (A2). Then B1 would display the percent change between the two numbers... in this case -20%

How can I do this?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
How about a custom Function to do the job:
Code:
Function PercChange(iRange As Range, jRange As Range)
PercChange = Format(1 - (iRange / jRange), "#.00%")
End Function
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

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