Calculating change in Rows

EliteRevGen

New Member
Joined
Jul 22, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I am trying to determine how I can add a column that shows the change in budget by day which are shown in my rows. I want a column that calculates the current row, minus the row previous. So in cell C6, I would want to see the difference btwn B6-B5.

Thanks for any help!

1721659722590.png
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Welcome to the Board!

Just do exactly as you said - enter a formula that subtracts the previous day's value from the current day's value, i.e.
Excel Formula:
=B6-B5
in cell C6 and then just copy that formula down to your last row of data.
 
Upvote 0
Welcome to the Board!

Just do exactly as you said - enter a formula that subtracts the previous day's value from the current day's value, i.e.
Excel Formula:
=B6-B5
in cell C6 and then just copy that formula down to your last row of data.
I want it to automatically update though when new rows get added.
 
Upvote 0
If it is part of a table, it should happen automatically.
If it is not, you can use VBA code to do that.
Would you like me to come up with the VBA code required to do that?
 
Upvote 0
If it is part of a table, it should happen automatically.
If it is not, you can use VBA code to do that.
Would you like me to come up with the VBA code required to do that?
So it is not part of the table but I would love it if it was. If you're able to help that would be great!
 
Upvote 0
So it is not part of the table but I would love it if it was. If you're able to help that would be great!
So, just enter the formula and copy down for column C, so all rows are currently populated.
Then highlight all your data, go to the Insert menu and click on "Table".
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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