Average Balance

kparadise

Board Regular
Joined
Aug 13, 2015
Messages
186
Hello,

I have a list of accounts. Each of these accounts is housed in a database that holds the account number, the date, and the balance. Anytime a transaction occurs, a new record for the account is created, with the new date and new balance. The table is somewhat of a running balance. What I need to do is figure out the average daily balance of the account during a specific period.

Below is the example.
A
B
C
D
E
F
G
H
1
ACCT_NUM
DATE
VALUE
START_DATEEND_DATEAnswer: 7,509.17
2abc1236/26/202010.006/25/20206/30/2020
3abc1236/28/202015,010.00
4abc1236/30/202015,015.00
5abc1237/1/202020,012.57

Below is how the average daily balance was calculated:
6/25/20200.00
6/26/202010.00
6/27/202010.00
6/28/202015,010.00
6/29/202015,010.00
6/30/202015,015.00

Sum / 6 = 7,509.17
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
This should work as long as your software is up to date with Excel 365.

h7 = AVERAGE(IFNA(XLOOKUP(SEQUENCE(F2-E2+1,,E2),B2:B5,C2:C5,,-1),0))
 
Upvote 0

Forum statistics

Threads
1,216,117
Messages
6,128,935
Members
449,480
Latest member
yesitisasport

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