Hello,
I need add two formulas for duplicates in BALANCE column based on duplicates ID in column K for each date in column A .
so first should put duplicated id in column K under each other of them based on arranged as write , not sort from A-Z just keep the data as arranged in original data and the only thing put the duplicates ID under each other of them without change in sorting after that should add two formulas for each duplicates ID for each date.
You will note there are different formulas for first ,next rows for each duplicated ID for each date.
every time will change data before TOTAL row so should n't problem to sort every time.
maybe need sorting data for about 10000 rows in the future.
result
I need add two formulas for duplicates in BALANCE column based on duplicates ID in column K for each date in column A .
so first should put duplicated id in column K under each other of them based on arranged as write , not sort from A-Z just keep the data as arranged in original data and the only thing put the duplicates ID under each other of them without change in sorting after that should add two formulas for each duplicates ID for each date.
You will note there are different formulas for first ,next rows for each duplicated ID for each date.
every time will change data before TOTAL row so should n't problem to sort every time.
maybe need sorting data for about 10000 rows in the future.
Ali-M.xlsm | ||||||||
---|---|---|---|---|---|---|---|---|
I | J | K | L | M | N | |||
1 | DATE | DETAILS | SAFES | DEBIT | CREDIT | BALANCE | ||
2 | 20/03/2024 | SALES INVOICE | BANK | 3,100.00 | 3,100.00 | |||
3 | 20/03/2024 | SALES INVOICE | SHOP SAFE | 4,800.00 | 7,900.00 | |||
4 | 20/03/2024 | SALES INVOICE | HOME SAFE | 4,200.00 | 12,100.00 | |||
5 | 20/03/2024 | RECEIVED CASH | BANK | 3,000.00 | 15,100.00 | |||
6 | 20/03/2024 | PAID CASH | SHOP SAFE | 4,400.00 | 10,700.00 | |||
7 | 20/03/2024 | PAID CASH | HOME SAFE | 2,700.00 | 8,000.00 | |||
8 | 21/03/2024 | SALES INVOICE | SHOP SAFE | 1,000.00 | 1,000.00 | |||
9 | 21/03/2024 | SALES INVOICE | HOME SAFE | 1,200.00 | 2,200.00 | |||
10 | 21/03/2024 | PAID CASH | SHOP SAFE | 2,200.00 | 0.00 | |||
11 | 21/03/2024 | RECEIVED CASH | HOME SAFE | 10,000.00 | 1,100.00 | 8,900.00 | ||
12 | 22/03/2024 | RECEIVED CASH | BANK | 3,000.00 | 3,000.00 | |||
13 | 23/03/2024 | RECEIVED CASH | HOME SAFE | 2,000.00 | 2,000.00 | |||
14 | 23/03/2024 | RECEIVED CASH | BANK | 5,000.00 | 7,000.00 | |||
15 | 23/03/2024 | PAID CASH | SHOP SAFE | 3,000.00 | 10,000.00 | |||
16 | TOTAL | 40,300.00 | 10,400.00 | 29,900.00 | ||||
ASZ |
Cell Formulas | ||
---|---|---|
Range | Formula | |
L16:M16 | L16 | =SUM(L2:L15) |
result
Ali-M.xlsm | ||||||||
---|---|---|---|---|---|---|---|---|
I | J | K | L | M | N | |||
1 | DATE | DETAILS | SAFES | DEBIT | CREDIT | BALANCE | ||
2 | 20/03/2024 | SALES INVOICE | BANK | 3,100.00 | 3,100.00 | |||
3 | 20/03/2024 | RECEIVED CASH | BANK | 3,000.00 | 6,100.00 | |||
4 | 20/03/2024 | SALES INVOICE | SHOP SAFE | 4,800.00 | 4,800.00 | |||
5 | 20/03/2024 | PAID CASH | SHOP SAFE | 4,400.00 | 400.00 | |||
6 | 20/03/2024 | SALES INVOICE | HOME SAFE | 4,200.00 | 4,200.00 | |||
7 | 20/03/2024 | PAID CASH | HOME SAFE | 2,700.00 | 1,500.00 | |||
8 | 21/03/2024 | SALES INVOICE | SHOP SAFE | 1,000.00 | 1,000.00 | |||
9 | 21/03/2024 | PAID CASH | SHOP SAFE | 2,200.00 | -1200.00 | |||
10 | 21/03/2024 | SALES INVOICE | HOME SAFE | 1,200.00 | 1,200.00 | |||
11 | 21/03/2024 | RECEIVED CASH | HOME SAFE | 10,000.00 | 1,100.00 | 10,100.00 | ||
12 | 22/03/2024 | RECEIVED CASH | BANK | 3,000.00 | 3,000.00 | |||
13 | 23/03/2024 | RECEIVED CASH | HOME SAFE | 2,000.00 | 2,000.00 | |||
14 | 23/03/2024 | RECEIVED CASH | BANK | 5,000.00 | 5,000.00 | |||
15 | 23/03/2024 | PAID CASH | SHOP SAFE | 3,000.00 | 3,000.00 | |||
16 | TOTAL | 40,300.00 | 10,400.00 | 29,900.00 | ||||
RESULT |
Cell Formulas | ||
---|---|---|
Range | Formula | |
N2,N12:N16,N10,N8,N6,N4 | N2 | =L2-M2 |
N3,N11,N9,N7,N5 | N3 | =N2+L3-M3 |
L16:M16 | L16 | =SUM(L2:L15) |