Running total in Excel Table

HakanB

New Member
Joined
Dec 16, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have created personal accounting using Excel Table. I have run into troubles when I need to create running total for different columns: The columns are bank accounts, which have an opening balance per Jan-1-2025. The opening balance is the problem to be included into the formula as it is a constant. I have tried with the formula IF(ROW()=2, OpenBal, [@Summa] + INDEX([Balance], ROW()-1), where OpenBal is the constant Open Balance, @Summa is the amount to add to the balance and Balance is the Balance column where the function is used. However this does not seem to autoexpand. Has anybody a better solution?

HakanB
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to the MrExcel board!

Could you give us a small set of dummy sample data, with the expected results manually filled in and explain again in relation to the given sample data?
The best way to give us the sample data is with XL2BB
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
 
Upvote 0
It is not the first time, after I put a question to a forum, that I actually find the solution myself. I started by entering data and formulas into a range and after that changed it to a table. In fact the used formula works in the table. The problem was that I created the table from a range filled with data and formulas. When I started over from scratch with an empty table the index(....) formula calculated correctly and auto-expand as well. The only thing disappointing me is that the validation rules won't be included in the auto-expand. Right?
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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