Hello
I need macro for 8000 rows to extract duplicates dates in columns A B,C,F and ignore columns D,E in result sheet to DATE sheet and .
and insert TOTAL row for each duplicates dates .
what I want like this
in DATE sheet should clear data before brings data.
I need macro for 8000 rows to extract duplicates dates in columns A B,C,F and ignore columns D,E in result sheet to DATE sheet and .
and insert TOTAL row for each duplicates dates .
DATE.xlsm | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | DATE | S.N | ACRRUING/CASH | DEBIT | CREDIT | BALANCE | ||
2 | 01/01/2024 | 1 | CASH IN CS200 | 2,000.00 | 2,000.00 | |||
3 | 01/01/2024 | 2 | BANK IN BN2000 | 2,000.00 | 4,000.00 | |||
4 | 01/01/2024 | 3 | CASH IN CS2001 | 3,100.00 | 7,100.00 | |||
5 | 01/01/2024 | 4 | CASH IN CS204 | 730.00 | 6,370.00 | |||
6 | 01/01/2024 | 5 | CASH IN CS205 | 1,040.00 | 5,330.00 | |||
7 | 01/01/2024 | 6 | BANK IN BN2001 | 620.00 | 4,710.00 | |||
8 | 01/01/2024 | 7 | CASH IN CS203 | 200.00 | 4,910.00 | |||
9 | 01/01/2024 | 8 | BANK IN BN2002 | 400.00 | 5,310.00 | |||
10 | 02/01/2024 | 9 | CASH IN CS2003 | 1,030.00 | 6,340.00 | |||
11 | 02/01/2024 | 10 | CASH IN CS206 | 480.00 | 5,860.00 | |||
12 | 03/01/2024 | 11 | CASH IN CS207 | 1,040.00 | 4,820.00 | |||
13 | 03/01/2024 | 12 | BANK IN BN2004 | 620.00 | 4,200.00 | |||
14 | TOTAL | 8,730.00 | 4,530.00 | 4,200.00 | ||||
RESULT |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F2,F14 | F2 | =D2-E2 |
F3:F13 | F3 | =F2+D3-E3 |
D14:E14 | D14 | =SUM(D2:D13) |
DATE.xlsm | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | ITEM | DATE | S.N | ACRRUING/CASH | BALANCE | ||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 | |||||||
7 | |||||||
8 | |||||||
9 | |||||||
10 | |||||||
11 | |||||||
12 | |||||||
13 | |||||||
14 | |||||||
15 | |||||||
16 | |||||||
DATE |
what I want like this
DATE.xlsm | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | ITEM | DATE | S.N | ACRRUING/CASH | BALANCE | ||
2 | 1 | 01/01/2024 | 1 | CASH IN CS200 | 2,000.00 | ||
3 | 2 | 01/01/2024 | 2 | BANK IN BN2000 | 4,000.00 | ||
4 | 3 | 01/01/2024 | 3 | CASH IN CS2001 | 7,100.00 | ||
5 | 4 | 01/01/2024 | 4 | CASH IN CS204 | 6,370.00 | ||
6 | 5 | 01/01/2024 | 5 | CASH IN CS205 | 5,330.00 | ||
7 | 6 | 01/01/2024 | 6 | BANK IN BN2001 | 4,710.00 | ||
8 | 7 | 01/01/2024 | 7 | CASH IN CS203 | 4,910.00 | ||
9 | 8 | 01/01/2024 | 8 | BANK IN BN2002 | 5,310.00 | ||
10 | TOTAL | 39,730.00 | |||||
11 | 1 | 02/01/2024 | 9 | CASH IN CS2003 | 6,340.00 | ||
12 | 2 | 02/01/2024 | 10 | CASH IN CS206 | 5,860.00 | ||
13 | TOTAL | 12,200.00 | |||||
14 | 1 | 03/01/2024 | 11 | CASH IN CS207 | 4,820.00 | ||
15 | 2 | 03/01/2024 | 12 | BANK IN BN2004 | 4,200.00 | ||
16 | TOTAL | 9,020.00 | |||||
DATE |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E10 | E10 | =SUM(E2:E9) |
E13,E16 | E13 | =SUM(E11:E12) |
in DATE sheet should clear data before brings data.