Monthly update difference

runeyjam

Board Regular
Joined
Feb 10, 2003
Messages
75
I have a spreadsheet I have to update each month. The last column in the spreadsheet calculates the difference btw the current month and the previous month. Is there any way to automate this process so I do not have to change the formula each month. Here is a sample of my spreadsheet:
Moving difference.xls
ABCDEFGHIJKLMNO
1Current Month8Move
2All figures in US$ millions123456789101112MTD
3
4Loans and Advances to banks5,9735,5205,5154,3185,1954,4613,5394,437898
5Debt securities4,7504,6404,7134,8054,3373,9704,7692,595(2,174)
FM Balance Sheet
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,021
Office Version
  1. 365
Try:

O4 = OFFSET(B4,0,COUNTA(C4:N4))-OFFSET(B4,0,COUNTA(C4:N4)-1)

P4 = OFFSET(B5,0,COUNTA(C5:N5))-OFFSET(B5,0,COUNTA(C5:N5)-1)
 

Forum statistics

Threads
1,148,529
Messages
5,747,230
Members
424,070
Latest member
smanni3

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
Top