Running totals for Balance of a split transaction that is remaining to be allocated to different accounts

Wikkey

New Member
Joined
Feb 25, 2022
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
I used the formulas from a previous answered question "balance of a split transaction that is remaining to allocated", but I have a few different questions. Because I post to different accounts on the sheet. I want to leave the running balance formulas as is but I need to add to the formula if E column has a "split" in it, it doesnt add the value in J&K column to the running totals. If that makes sense.
Any help with this is gratly appreaciated.

Our Budget & s.xlsx
ABCDEFGHIJKLMN
4AccountDateNumPayeeMemoMain CategoryCategoryClrRemaining AMTPAYMENTDEPOSITAccount BalanceCleared BalanceBALANCE
5Checking RBC2/01/22[Beginning Balance] [Beginning Balance]R 683.21683.21683.21683.21
6Savings RBC2/01/22[Beginning Balance] [Beginning Balance]R 8,000.638,000.638,000.638,683.84
7Savings Tangerine2/01/22[Beginning Balance] [Beginning Balance]R 56,052.7256,052.7256,052.7264,736.56
8Master Card 2/01/22[Beginning Balance] [Beginning Balance]R 163.89(163.89)(163.89)64,572.67
9Visa RBC2/01/22[Beginning Balance] [Beginning Balance]R ---64,572.67
10Visa Old2/01/22[Beginning Balance] [Beginning Balance]R ---64,572.67
11Bev's IG RRSP2/01/22[Beginning Balance] [Beginning Balance]R --64,572.67
12Bev's IG TFSA2/01/22[Beginning Balance] [Beginning Balance]R --64,572.67
13Dar's IG RRSP2/01/22[Beginning Balance] [Beginning Balance]R --64,572.67
14Dar's IG TFSA2/01/22[Beginning Balance] [Beginning Balance]R --64,572.67
15IG Joint2/01/22[Beginning Balance] [Beginning Balance]R --64,572.67
16Great West Life2/01/22[Beginning Balance] [Beginning Balance]R --64,572.67
17Checking RBC2/01/22Canada Life INCOMERefunds/Reimbursementsc 136.48819.69819.6964,709.15
18Savings Tangerine2/01/22Interest Paid INCOMEInterest Incomec 3.9756,056.6956,056.6964,713.12
19Savings Tangerine2/01/22Bonus Interest INCOMEInterest Incomec 70.4456,127.1356,127.1364,783.56
20Savings RBC2/01/22Interest Paid INCOMEInterest Incomec 0.318,000.948,000.9464,783.87
21Checking RBC2/02/22TXFR[To Savings} TRANSPORTATIONBoat Insurancec 42.25777.44777.4464,741.62
22Checking RBC2/02/22TXFR[To Savings} TRANSPORTATIONAuto Insurancec 15.25762.19762.1964,726.37
23Checking RBC2/02/22TXFR[To Savings} HOUSINGHouse Insurancec 35.50726.69726.6964,690.87
24Checking RBC2/02/22TXFR[To Savings} HOUSINGProperty Taxesc 61.50665.19665.1964,629.37
25Savings RBC2/02/22TXFR[From Checking] [Transfer]c 154.508,155.448,155.4464,783.87
26Checking RBC2/02/22Canada Life Disability INCOMECanada Life Disabilityc 1,521.002,186.192,186.1966,304.87
27Checking RBC2/02/22Canada Life Disability DEBTIncome Taxc 356.091,830.101,830.1065,948.78
28Checking RBC2/02/224833Amanda Bartok FOODGroceriesc 77.971,752.131,752.1365,870.81
29Master Card 2/02/22A&WSplit…DEBTSplit (Mulitple Categories)…-33.30(197.19)(163.89)65,837.51
30Master Card 2/03/22splitFOODTake Out 30.00(227.19)(163.89)65,807.51
31Master Card 2/04/22splitDEBTSales Tax 3.30(230.49)(163.89)65,804.21
Transactions
Cell Formulas
RangeFormula
L5:L31L5=SUMIFS(K$4:OFFSET(K5,0,0),A$4:OFFSET(A5,0,0),"="&A5)-SUMIFS(J$4:OFFSET(J5,0,0),A$4:OFFSET(A5,0,0),"="&A5)
M5:M31M5=SUMIFS(K$4:OFFSET(K5,0,0),A$4:OFFSET(A5,0,0),"="&A5,H$4:OFFSET(H5,0,0),"<>")-SUMIFS(J$4:OFFSET(J5,0,0),A$4:OFFSET(A5,0,0),"="&A5,H$4:OFFSET(H5,0,0),"<>")
N5:N31N5=SUM(OFFSET(N5,-1,0),K5,-J5)
E5:E31E5=IF(G3="Split (Mulitple Categories)…","split",IF(G4="Split (Mulitple Categories)…","split",IF(G5="Split (Mulitple Categories)…","Split…","")))
I5:I31I5=IF(E5="Split…",2*SUM(J5:K5)-SUM(J5:INDEX(K6:K$74,MATCH(TRUE,INDEX(G6:G$74<>"split",0),0)-1)),"")
Named Ranges
NameRefers ToCells
Print_Titles=Transactions!$4:$4L5:M31
Cells with Conditional Formatting
CellConditionCell FormatStop If True
N5:N178Cell Value<0textYES
A85:A110,A76:A82,A116:A120,A125:A135,A138:A148,A162:A178,A150:A157,A5:A65Expression=AND(ISERROR(MATCH(A5,accounts,0)),NOT(ISBLANK(A5)))textYES
G85:G106,G76:G82,G109:G110,G116:G120,G5:G65,G125:G135,G138:G148,G162:G178,G150:G157Expression=AND(NOT(ISBLANK(G5)),ISERROR(MATCH(G5,categories,0)))textNO
Cells with Data Validation
CellAllowCriteria
A5:A31List=accounts
F5:F178List=MainCat
G5:G16List=categories
H5:H178Listx,c,R
G17:G178List=OFFSET($U$6,1,MATCH($F17,$U$6:$AF$6,0)-1,COUNTA(OFFSET($U$6,1,MATCH($F17,$U$6:$AF$6,0)-1,15)),1)
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
=SUMIFS(K$4:OFFSET(K29,0,0),A$4:OFFSET(A29,0,0),"="&A29)+IF(E29="split",L28+J29-J29,-SUMIFS(J$4:OFFSET(J29,0,0),A$4:OFFSET(A29,0,0),"="&A29))
I found a partial answer to one of my problems, the new formula I added is above in blue. I don't know if that is an efficient way of doing it but it works. Rows 30 and 31 will give the same amount as row 29. I'm wondering if there is a better formula for column l to n, if column E = split I don't want to add the amount column K.
Still not sure I am giving the right info for what I'm trying to accomplish.
Thanks for any assistance.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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