Hi
I would extract invoices details for each sheet based on TOTAL row.
so should extract columns B:D ,J for TOTAL row for each sheet individual and populate data from row2 in A:D based on sales sheet ,F:I based on buying sheet and insert TOTAL row to sum amounts in columns D,I in extraction sheet.
and will increase data in SALES,BUYING sheet. if the vba is possible then will should clear data in EXTRACTION sheet and replace data with data have already copied .
what I want it
thanks in advance
I would extract invoices details for each sheet based on TOTAL row.
so should extract columns B:D ,J for TOTAL row for each sheet individual and populate data from row2 in A:D based on sales sheet ,F:I based on buying sheet and insert TOTAL row to sum amounts in columns D,I in extraction sheet.
and will increase data in SALES,BUYING sheet. if the vba is possible then will should clear data in EXTRACTION sheet and replace data with data have already copied .
EX.xlsm | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | ITEM | DATE | NAME | INVOICE | GOODS | TYPE | PR | QTY | UNIT | TOTAL | ||
2 | 1 | 25/05/2023 | CR-1000 | FRVG-1000 | ATR | AM1 | GR | 55.00 | 22.00 | 1,210.00 | ||
3 | 2 | 25/05/2023 | CR-1000 | FRVG-1000 | ATR | AM2 | PO | 14.00 | 33.00 | 462.00 | ||
4 | 3 | 25/05/2023 | CR-1000 | FRVG-1000 | ATR | AM1 | SO | 10.00 | 44.00 | 440.00 | ||
5 | TOTAL | 25/05/2023 | CR-1000 | FRVG-1000 | 2,112.00 | |||||||
6 | 1 | 25/05/2023 | CR-1001 | FRVG-1001 | ATR | AM1 | GR | 10.00 | 22.00 | 220.00 | ||
7 | 2 | 25/05/2023 | CR-1001 | FRVG-1001 | ATR | AM2 | PO | 10.00 | 33.00 | 330.00 | ||
8 | TOTAL | 25/05/2023 | CR-1001 | FRVG-1001 | 550.00 | |||||||
SALES |
EX.xlsm | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | ITEM | DATE | NAME | INVOICE | GOODS | TYPE | PR | QTY | UNIT | TOTAL | ||
2 | 1 | 25/05/2023 | CR-1000 | STVG-1000 | ATR | AM1 | MTR | 5.00 | 25.00 | 125.00 | ||
3 | 2 | 25/05/2023 | CR-1000 | STVG-1000 | ATR | AM2 | PO | 4.00 | 35.00 | 140.00 | ||
4 | 3 | 25/05/2023 | CR-1000 | STVG-1000 | ATR | AM1 | SO | 2.00 | 45.00 | 90.00 | ||
5 | TOTAL | 25/05/2023 | CR-1000 | STVG-1000 | 355.00 | |||||||
6 | 1 | 25/05/2023 | CR-1001 | STVG-1001 | ATR | AM1 | GR | 2.00 | 23.00 | 46.00 | ||
7 | 2 | 25/05/2023 | CR-1001 | STVG-1001 | ATR | AM2 | PO | 2.00 | 35.00 | 70.00 | ||
8 | TOTAL | 25/05/2023 | CR-1001 | STVG-1001 | 116.00 | |||||||
BUYING |
EX.xlsm | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | DATE | NAME | SALES INVOICES | TOTAL | DATE | NAME | SALES INVOICES | TOTAL | |||
2 | |||||||||||
3 | |||||||||||
4 | |||||||||||
EXTRACTION |
what I want it
EX.xlsm | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | DATE | NAME | SALES INVOICES | TOTAL | DATE | NAME | SALES INVOICES | TOTAL | |||
2 | 25/05/2023 | CR-1000 | FRVG-1000 | 2,112.00 | 25/05/2023 | CR-1000 | STVG-1000 | 355.00 | |||
3 | 25/05/2023 | CR-1001 | FRVG-1001 | 550.00 | 25/05/2023 | CR-1001 | STVG-1001 | 116.00 | |||
4 | TOTAL | 2,662.00 | TOTAL | 471.00 | |||||||
EXTRACTION |
thanks in advance