Summing end of month account balances based on percentages that vary line by line

MattDRT

New Member
Joined
Apr 24, 2024
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
I work for a small nonprofit and a percentage of our donations come into our savings account. All other income and expenses happen out of our checking account. I am building a cashflow tool to forecast when we will need to make a transfer from savings to checking. What formula(s) can I use in cells D22 & D23 to arrive and an end of month sum for each account?

Book1
ABCDEFGHIJ
1
2Month:JanAcct 1Acct 1 %Acct 2Acct 2 &
3
4Account Begin Balance
5Checking100000
6Savings50000
7TOTAL150000
8
9Revenues
10Tickets800Checking100%
11Donations500Checking50%Savings50%
12Grants1500Checking100%
13TOTAL2800
14
15Expenses
16GenOp1400Checking100%
17Program900Checking100%
18Fundraising100Checking100%
19TOTAL2400
20
21Account Ending Balance
22Checking?
23Savings?
24TOTAL
25
Sheet1
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Check this and revert -

Book2
ABCDEFGHI
1
2Month: Jan Acct 1Acct 1 %Acct 2Acct 2 &
3
4Account Begin Balance
5Checking1,00,000
6Savings50,000
7TOTAL1,50,000
8
9Revenues
10Tickets800Checking10
11Donations500Checking0.5Savings0.5
12Grants1,500Checking10
13TOTAL2,800
14
15Expenses
16GenOp1,400Checking10
17Program900Checking10
18Fundraising100Checking10
19TOTAL2,400
20
21Account Ending Balance
22Checking1,00,150
23Savings50,250
24TOTAL1,50,400
Sheet1
Cell Formulas
RangeFormula
I10:I12,I16:I18I10=1-G10
D22D22=D5+SUMPRODUCT(D10:D12,G10:G12)-SUMPRODUCT(D16:D18,G16:G18)
D23D23=D6+SUMPRODUCT(D10:D12,I10:I12)-SUMPRODUCT(D16:D18,I16:I18)
D24D24=SUM(D22:D23)
 
Upvote 0
Check this and revert -

Book2
ABCDEFGHI
1
2Month: Jan Acct 1Acct 1 %Acct 2Acct 2 &
3
4Account Begin Balance
5Checking1,00,000
6Savings50,000
7TOTAL1,50,000
8
9Revenues
10Tickets800Checking10
11Donations500Checking0.5Savings0.5
12Grants1,500Checking10
13TOTAL2,800
14
15Expenses
16GenOp1,400Checking10
17Program900Checking10
18Fundraising100Checking10
19TOTAL2,400
20
21Account Ending Balance
22Checking1,00,150
23Savings50,250
24TOTAL1,50,400
Sheet1
Cell Formulas
RangeFormula
I10:I12,I16:I18I10=1-G10
D22D22=D5+SUMPRODUCT(D10:D12,G10:G12)-SUMPRODUCT(D16:D18,G16:G18)
D23D23=D6+SUMPRODUCT(D10:D12,I10:I12)-SUMPRODUCT(D16:D18,I16:I18)
D24D24=SUM(D22:D23)
Thank you! I am new to SUMPRODUCT and I am playing around with it now. This gives me exactly what I need.
 
Upvote 0
Thank you! I am new to SUMPRODUCT and I am playing around with it now. This gives me exactly what I need.
That's the learning curve which keeps me glued to this forum.

Glad to help you and thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,070
Messages
6,128,614
Members
449,460
Latest member
jgharbawi

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