Change to positive /negative where applicable to arrive at final total

sleek12

Board Regular
Joined
May 3, 2014
Messages
62
Office Version
  1. 365
Platform
  1. Windows
cross-posted from another forum:-

Change to positive /negative where applicable to arrive at final total


I managed to get all reconciliation items, but whether its negative/positive aspect sometimes is confusing or elusive.
This is the PROBLEM:- (I was trying to use SOLVER add-in here), however any solution with PQ, Macro is well as I use office 365.

Tenant (Debtor) Transactions1.xlsx
ABCDEFGHIJK
1Kshscurrency
2Balance as per tenant 2,597,184.10
3Add: invoices not posted by us01/11/2021b901Deposit ChargeDeposit charge4,715,615.760.004,715,615.7614,715,615.76
401/11/2021b776Other Recoverable ExpenseReletting fees for tenant348,000.000.00348,000.001348,000.00
501/11/2021b776Other Recoverable ExpenseLegal fees for tenant74,600.000.0074,600.00174,600.00
601/12/2021i011RentFor period 15/12/2021 to 14/03/20221,578,000.00252,480.001,830,480.0011,830,480.00
701/12/2021i014Parking RentFor period 15/12/2021 to 14/03/2022231,000.0036,960.00267,960.001267,960.00
801/03/2022i011RentFor period 15/03/2022 to 14/06/20221,578,000.00252,480.001,830,480.0011,830,480.00
901/03/2022i014Parking RentFor period 15/03/2022 to 14/06/2022231,000.0036,960.00267,960.001267,960.00
10Add: payments made by ourselves not reflected in landlord01/07/20213487375,000.001375,000.00
11chq 3850 posted as 375500 instead of 375000500.001500.00
12less: payments made by ourselves not updated in ERP26/10/20211824401,542.851401,542.85
13less: deposit refund not posted in ERP25/11/20219,358,656.0019,358,656.00
14less credit note refund not posted by ourselves15/03/202246,766.00146,766.00
15Add: invoice posted in ERP not reflected in landlord, why ???2,075,878.9212,075,878.92
16opening bal adjustmentMO4,527,542.0114,527,542.01
17tenant2,923,365.1812,923,365.18
18Balance as per landlord31,641,530.822,029,112.92
Problemdefined
Cell Formulas
RangeFormula
I3:I17I3=K3*J3
I18I18=SUM(I2:I17)
J18J18=solutionrequired!I20
Named Ranges
NameRefers ToCells
solver_adj=Problemdefined!$J$3:$J$17I3
solver_lhs1=Problemdefined!$J$8I8
solver_lhs10=Problemdefined!$J$17I17
solver_lhs11=Problemdefined!$J$3I3
solver_lhs12=Problemdefined!$J$4I4
solver_lhs13=Problemdefined!$J$5I5
solver_lhs14=Problemdefined!$J$6I6
solver_lhs15=Problemdefined!$J$7I7
solver_lhs2=Problemdefined!$J$9I9
solver_lhs3=Problemdefined!$J$10I10
solver_lhs4=Problemdefined!$J$11I11
solver_lhs5=Problemdefined!$J$12I12
solver_lhs6=Problemdefined!$J$13I13
solver_lhs7=Problemdefined!$J$14I14
solver_lhs8=Problemdefined!$J$15I15
solver_lhs9=Problemdefined!$J$16I16


Herewith is the SOLUTION:- what i wanted was is there any way i can turn some of the numbers into negative to total to 2,029,112.92 so my reconciliation can agree:-

Tenant (Debtor) Transactions1.xlsx
ABCDEFGHI
1Kshscurrency
2Balance as per tenant 2,597,184.10
3Add: invoices not posted by
4ourselves
501/11/2021b901Deposit ChargeDeposit charge4,715,615.760.004,715,615.76
601/11/2021b776Other Recoverable ExpenseReletting fees for tenant348,000.000.00348,000.00
701/11/2021b776Other Recoverable ExpenseLegal fees for tenant74,600.000.0074,600.00
801/12/2021i011RentFor period 15/12/2021 to 14/03/20221,578,000.00252,480.001,830,480.00
901/12/2021i014Parking RentFor period 15/12/2021 to 14/03/2022231,000.0036,960.00267,960.00
1001/03/2022i011RentFor period 15/03/2022 to 14/06/20221,578,000.00252,480.001,830,480.00
1101/03/2022i014Parking RentFor period 15/03/2022 to 14/06/2022231,000.0036,960.00267,960.00
12Add: payments made by ourselves not reflected in landlord01/07/20213487375,000.00
13chq 3850 posted as 375500 instead of 375000500.00
14less: payments made by ourselves not updated in ERP26/10/20211824-401,542.85
15less: deposit refund not posted in ERP25/11/2021-9,358,656.00
16less credit note refund not posted by ourselves15/03/2022-46,766.00
17Add: invoice posted in ERP not reflected in landlord, why ???-2,075,878.92
18opening bal adjustmentMO4,527,542.01
19tenant-2,923,365.18
20Balance as per landlord2,029,112.92
solutionrequired
Cell Formulas
RangeFormula
I20I20=SUM(I2:I19)
 
LET! It's a great function for making better formulas. My excel at work doesn't have it. Our IT department is slow to rollout changes.
The reason for this also could be The limit of this method is 20 values (2^20 = 1048576, amount of rows in Excel). If you want more values, maybe PowerQuery or VBA is required.
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
As you spoke of multiple solutions, as i was trying this out, it had 2 results:-
I just modified your workings to suit my needs. @JamesCanale

AMZN-Operating-Activities.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
111,478.0011,478.001.001.0011,478.000-1-1-1-1-1-1-1-1-1-1011511-1-1111-1-1-1
24,215.004,215.001.001.004,215.0011-1-1-1-1-1-1-1-1-10903111-1-1-1-1111
3-202.00202.00-1.001.00202.002-11-1-1-1-1-1-1-1-10
4-292.00-292.00-1.00-1.00292.00311-1-1-1-1-1-1-1-10
529.00-29.001.00-1.0029.004-1-11-1-1-1-1-1-1-10
63,583.00-3,583.001.00-1.003,583.0051-11-1-1-1-1-1-1-10
74,786.00-4,786.001.00-1.004,786.006-111-1-1-1-1-1-1-10
8-7,175.007,175.00-1.001.007,175.007111-1-1-1-1-1-1-10
9-283.00283.00-1.001.00283.008-1-1-11-1-1-1-1-1-10
10-738.00738.00-1.001.00738.0091-1-11-1-1-1-1-1-10
1115,401.0015,401.0010-11-11-1-1-1-1-1-10
121111-11-1-1-1-1-1-10
1312-1-111-1-1-1-1-1-10
14131-111-1-1-1-1-1-10
1514-1111-1-1-1-1-1-10
16151111-1-1-1-1-1-10
1716-1-1-1-11-1-1-1-1-10
1815,401.00171-1-1-11-1-1-1-1-10
191018-11-1-11-1-1-1-1-10
fromothersite
Cell Formulas
RangeFormula
A1:A10A1=E1*C1
B1:B10B1=E1*D1
C1:D10C1=TRANSPOSE(U1#)
F1:F1024F1=SEQUENCE(2^E19)-1
G1:P1024G1=SIGN(BITAND(TRANSPOSE(2^(SEQUENCE(E19,1,0,1))),F1#)-0.5)
S1:S1024S1=(--(MMULT(G1#,E1:E10)=$E$18))*F1#
T1:T2T1=FILTER(S1#,S1#<>0)
U1:AD2U1=SIGN(BITAND(TRANSPOSE(2^(SEQUENCE(E19,1,0,1))),T1#)-0.5)
A11:B11A11=SUM(A1:A10)
E18E18='Table 1'!I13-'Table 1'!I1
E19E19=COUNT(E1:E10)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,267
Members
449,075
Latest member
staticfluids

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