Calculate Average Balance between two dates only

earthworm

Well-known Member
Joined
May 19, 2009
Messages
759
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I need to calculate Monthly average Balance

I am able to achive it if i break down the Ending Balance of all dates and then calculate average

Is it possible to calculate average balance between opening balance and endind balance only?

Please look below example

I dont want to break the calculation for each month

I need correct average balance from opening balance and closing balance only instead of breaking it into complete month date

I have 20k+ accounts and need to calculate them in shortest possible info.


AccountStatement_Export_1_3_2022.xls
ABCDEFG
2Opening BalanceEnd of Day Balance
3Total DebitTotal Credit- 13,548.06Opening Balance- 13,548.06
401-12-20213,000.00-- 13,548.06Closing Balance- 145,716.06
502-12-20218,000.00-- 13,548.06Average Balance
603-12-2021--- 13,548.06
704-12-2021--- 13,548.06
805-12-2021--- 13,548.06
906-12-20211,518.75-- 13,548.06
1007-12-2021977.00-- 13,548.06
1108-12-202117,518.75-- 13,548.06
1209-12-20211,000.008,000.00- 21,548.06
1310-12-20213,500.008,000.00- 29,548.06
1411-12-20212,768.75-- 29,548.06
1512-12-2021--- 29,548.06
1613-12-20214,787.00-- 29,548.06
1714-12-20211,018.75-- 29,548.06
1815-12-20213,018.75-- 29,548.06
1916-12-2021967.439,000.00- 38,548.06
2017-12-20213,518.75-- 38,548.06
2118-12-20215,037.50-- 38,548.06
2219-12-2021--- 38,548.06
2320-12-20213,000.00-- 38,548.06
2421-12-20211,532.57-- 38,548.06
2522-12-2021--- 38,548.06
2623-12-202155,954.98105,668.00- 144,216.06
2724-12-20216,052.05-- 144,216.06
2825-12-2021--- 144,216.06
2926-12-2021--- 144,216.06
3027-12-202127,307.51-- 144,216.06
3128-12-202110,614.75-- 144,216.06
3229-12-20211,796.00-- 144,216.06
3330-12-2021-1,500.00- 145,716.06
3431-12-20211,000.00-- 145,716.06
35- 59,110.94
Sheet2
Cell Formulas
RangeFormula
B4:C34B4=SUMIF(Sheet1!$A:$A,Sheet2!$A4,Sheet1!D:D)
G3G3=D3
G4G4=D34
D3D3=Sheet1!F3*1
D4:D34D4=D3-+C4
D35D35=AVERAGE(D3:D34)
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I don't know your business, but for many business's looking to calculate an Average Balance, the simple formula of

(Beginning Balance + Ending Balance) / 2

is an acceptable method of calculation.
 
Upvote 0

Forum statistics

Threads
1,215,201
Messages
6,123,617
Members
449,109
Latest member
Sebas8956

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