Hi experts
I want transpose data to header based on column B and merge duplicates items for each duplicated date .
so I put the expected result in F:N, but there is problem about items PR_0000,SR_0000 as in columns J,K but in column B will be different numbers and could be difficult to merge the same date with different duplicate but in reality I want merging , for instance date : 13/06/2023 contains PR_000023,PR_000024 so when merge just match partial item PR_0000 to merge and sum =2000+3000=5000 in J2, the same thing about SR_0000 otherwise for the others items will be the same items when sum . as to OPENING item should ignore it I don't need it .
it should merge the amounts for each item whether in DEBIT or CREDIT .
every time I want adding data so automatically will clear data in column F:N and will insert TOTAL row to sum for each header and calculate as I put the formula in column BALANCE .
result
I want transpose data to header based on column B and merge duplicates items for each duplicated date .
so I put the expected result in F:N, but there is problem about items PR_0000,SR_0000 as in columns J,K but in column B will be different numbers and could be difficult to merge the same date with different duplicate but in reality I want merging , for instance date : 13/06/2023 contains PR_000023,PR_000024 so when merge just match partial item PR_0000 to merge and sum =2000+3000=5000 in J2, the same thing about SR_0000 otherwise for the others items will be the same items when sum . as to OPENING item should ignore it I don't need it .
it should merge the amounts for each item whether in DEBIT or CREDIT .
every time I want adding data so automatically will clear data in column F:N and will insert TOTAL row to sum for each header and calculate as I put the formula in column BALANCE .
AL.xlsm | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | |||
1 | DATE | DESCRIBE | DEBIT | CREDIT | DATE | BANK | CASH | REC DEBT | PR_0000 | SR_0000 | PAID PR | PAID EX | BALANCE | |||
2 | 13/06/2023 | OPENING | 387,148.00 | |||||||||||||
3 | 13/06/2023 | PR_000023 | 2,000.00 | |||||||||||||
4 | 13/06/2023 | PR_000024 | 3,000.00 | |||||||||||||
5 | 13/06/2023 | CASH | 10,000.00 | |||||||||||||
6 | 13/06/2023 | PAID PR | 2,000.00 | 2,000.00 | ||||||||||||
7 | 13/06/2023 | PAID PR | 1,000.00 | |||||||||||||
8 | 13/06/2023 | REC DEBT | 100,000.00 | |||||||||||||
9 | 13/06/2023 | REC DEBT | 3,000.00 | |||||||||||||
10 | 13/06/2023 | CASH | 2,000.00 | |||||||||||||
11 | 13/06/2023 | BANK | 3,000.00 | |||||||||||||
12 | 13/06/2023 | BANK | 1,000.00 | |||||||||||||
13 | 14/06/2023 | PR_000025 | 2,000.00 | |||||||||||||
14 | 14/06/2023 | SR_00002333 | 1,000.00 | |||||||||||||
15 | 14/06/2023 | SR_00002334 | 2,000.00 | |||||||||||||
16 | 14/06/2023 | PAID EX | 10,000.00 | |||||||||||||
17 | 14/06/2023 | PAID EX | 20,000.00 | |||||||||||||
18 | 14/06/2023 | PR_000026 | 3,000.00 | |||||||||||||
19 | 14/06/2023 | PR_000027 | 4,000.00 | |||||||||||||
20 | 15/06/2023 | CASH | 1,200.00 | |||||||||||||
21 | 15/06/2023 | CASH | 7,000.00 | |||||||||||||
22 | 15/06/2023 | PR_000028 | 14,060.00 | |||||||||||||
RAB |
result
AL.xlsm | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | |||
1 | DATE | DESCRIBE | DEBIT | CREDIT | DATE | BANK | CASH | REC DEBT | PR_0000 | SR_0000 | PAID PR | PAID EX | BALANCE | |||
2 | 13/06/2023 | OPENING | 387,148.00 | 13/06/2023 | 4,000.00 | 12,000.00 | 103,000.00 | 5,000.00 | - | 3,000.00 | - | 79,000.00 | ||||
3 | 13/06/2023 | PR_000023 | 2,000.00 | 14/06/2023 | - | - | - | 9000 | 3000 | - | 30,000.00 | -39,000.00 | ||||
4 | 13/06/2023 | PR_000024 | 3,000.00 | 15/06/2023 | - | 8,200.00 | - | 14,060.00 | - | - | -22,260.00 | |||||
5 | 13/06/2023 | CASH | 10,000.00 | TOTAL | 4,000.00 | 20,200.00 | 103,000.00 | 28,060.00 | 3,000.00 | 3,000.00 | 30,000.00 | 45,800.00 | ||||
6 | 13/06/2023 | PAID PR | 2,000.00 | 2,000.00 | ||||||||||||
7 | 13/06/2023 | PAID PR | 1,000.00 | |||||||||||||
8 | 13/06/2023 | REC DEBT | 100,000.00 | |||||||||||||
9 | 13/06/2023 | REC DEBT | 3,000.00 | |||||||||||||
10 | 13/06/2023 | CASH | 2,000.00 | |||||||||||||
11 | 13/06/2023 | BANK | 3,000.00 | |||||||||||||
12 | 13/06/2023 | BANK | 1,000.00 | |||||||||||||
13 | 14/06/2023 | PR_000025 | 2,000.00 | |||||||||||||
14 | 14/06/2023 | SR_00002333 | 1,000.00 | |||||||||||||
15 | 14/06/2023 | SR_00002334 | 2,000.00 | |||||||||||||
16 | 14/06/2023 | PAID EX | 10,000.00 | |||||||||||||
17 | 14/06/2023 | PAID EX | 20,000.00 | |||||||||||||
18 | 14/06/2023 | PR_000026 | 3,000.00 | |||||||||||||
19 | 14/06/2023 | PR_000027 | 4,000.00 | |||||||||||||
20 | 15/06/2023 | CASH | 1,200.00 | |||||||||||||
21 | 15/06/2023 | CASH | 7,000.00 | |||||||||||||
22 | 15/06/2023 | PR_000028 | 14,060.00 | |||||||||||||
RAB |
Cell Formulas | ||
---|---|---|
Range | Formula | |
N2:N4 | N2 | =I2-(G2+H2+J2+L2+M2) |
G5:M5 | G5 | =SUM(G2:G4) |
N5 | N5 | =I5-(G5+H5+L5+M5) |