abdo meghari
Well-known Member
- Joined
- Aug 3, 2021
- Messages
- 612
- Office Version
- 2019
in SH1 sheet I would match headers with headers in others sheets and populate data under header and combine duplicates Brand if contains the same price
without forgetting add new row before TOTAL row if I have data much in others sheets or delete empty row before TOTAL row if the data are small in other sheets with comparison empty rows in SH1 sheet.I will add new sheets before SH1 sheet.
result I want
thanks
without forgetting add new row before TOTAL row if I have data much in others sheets or delete empty row before TOTAL row if the data are small in other sheets with comparison empty rows in SH1 sheet.I will add new sheets before SH1 sheet.
فاتورة 58720.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
2 | 7,000.000 | 2024.10.12 | 970000444 | 500.000 | 14 | 1657 | DROUB 70A L KOR | ||
3 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
4 | 2,065.000 | 2024.10.17 | 970000466 | 385.000 | 4 | 1518 | KM 195/65R15 TA21 KOR | ||
5 | 525.000 | 1 | 1672 | VIPIEMME 70A L IT | |||||
6 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
7 | 8,525.000 | 2024.10.19 | 970000471 | 500.000 | 10 | 1657 | DROUB 70A L KOR | ||
8 | 500.000 | 6 | 1673 | DROUB 70A R KOR | |||||
9 | 525.000 | 1 | 1672 | VIPIEMME 70A L IT | |||||
10 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
11 | 1,860.000 | 2024.10.28 | 970000496 | 465.000 | 4 | 1386 | KM 225/60R16 TA21 KOR | ||
12 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
13 | 5,815.000 | 2024.10.29 | 970000499 | 775.000 | 5 | 1677 | KM 285/60R18 KL61 VIT | ||
14 | 420.000 | 2 | 1676 | DROUB 60A L KOR | |||||
15 | 550.000 | 2 | 1339 | XPRO 90A L KOR | |||||
16 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
17 | 475.000 | 2024.10.30 | 970000502 | 475.000 | 1 | 1334 | XPRO 70A R KOR | ||
Page 0 |
فاتورة 58720.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
2 | 3,730.000 | 2024.09.15 | 970000315 | 500.000 | 2 | 1619 | VEGA 70A R KOR | ||
3 | 500.000 | 2 | 1541 | VEGA 70A L KOR | |||||
4 | 425.000 | 2 | 1641 | VEGA 55A R KOR | |||||
5 | 440.000 | 2 | 1642 | LARGEST 60A L HIGH JAP | |||||
6 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
7 | 4,360.000 | 2024.09.16 | 970000329 | 460.000 | 4 | 1643 | KM 215/65R16 TA31 KOR | ||
8 | 630.000 | 4 | 1645 | 265/70R16 ALGERIA | |||||
9 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
10 | 1,780.000 | 2024.09.16 | 970000334 | 445.000 | 4 | 1646 | KM 205/65R16 HS63 KOR | ||
11 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
12 | 3,300.000 | 2024.09.21 | 970000345 | 1,650.000 | 2 | 1492 | GC 385/65R22.5 AT131 CHI | ||
13 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
14 | 3,520.000 | 2024.09.24 | 970000360 | 880.000 | 4 | 1651 | KM 265/70R16 KOR | ||
15 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
16 | 920.000 | 2024.10.02 | 970000392 | 460.000 | 2 | 1656 | DONGA 66A L KOR | ||
17 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
18 | 10,875.000 | 2024.10.09 | 970000427 | 625.000 | 4 | 1390 | KM 235/65R17 HP71 KOR | ||
19 | 675.000 | 4 | 1662 | KM 235/55R19 PS71 KOR | |||||
20 | 575.000 | 1 | 1661 | DROUB 90A L KOR | |||||
21 | 2,550.000 | 2 | 1663 | KM 13R22.5 MA11 KOR | |||||
22 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
23 | 2,120.000 | 2024.10.09 | 970000430 | 530.000 | 3 | 1619 | VEGA 70A R KOR | ||
24 | 530.000 | 1 | 1457 | BATTERY 70A KOR | |||||
25 | TOTAL | DATE | INVOICE NO | PRICE | QTY | CODE | BRAND | ||
26 | 2,140.000 | 2024.10.10 | 970000435 | 535.000 | 4 | 1665 | KM 225/70R16 TA21 KOR | ||
Page 0 (2) |
فاتورة 58720.xlsm | |||||||
---|---|---|---|---|---|---|---|
B | C | D | E | F | |||
21 | ITEM | BRAND | QTY | PRICE | BALANCE | ||
22 | 0.00 | ||||||
23 | 0.00 | ||||||
24 | 0.00 | ||||||
25 | 0.00 | ||||||
26 | 0.00 | ||||||
27 | 0.00 | ||||||
28 | 0.00 | ||||||
29 | 0.00 | ||||||
30 | 0.00 | ||||||
31 | 0.00 | ||||||
32 | 0.00 | ||||||
33 | 0.00 | ||||||
34 | 0.00 | ||||||
35 | TOTAL | 0.00 | 0.00 | ||||
SH1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D35,F35 | D35 | =SUM(D22:D34) |
F22:F34 | F22 | =D22*E22 |
result I want
فاتورة 58720.xlsm | |||||||
---|---|---|---|---|---|---|---|
B | C | D | E | F | |||
21 | ITEM | BRAND | QTY | PRICE | BALANCE | ||
22 | 1 | VEGA 70A R KOR | 4.00 | 500.00 | 2,000.00 | ||
23 | 2 | VEGA 55A R KOR | 2.00 | 425.00 | 850.00 | ||
24 | 3 | LARGEST 60A L HIGH JAP | 2.00 | 440.00 | 880.00 | ||
25 | 4 | KM 215/65R16 TA31 KOR | 4.00 | 460.00 | 1,840.00 | ||
26 | 5 | 265/70R16 ALGERIA | 4.00 | 630.00 | 2,520.00 | ||
27 | 6 | KM 205/65R16 HS63 KOR | 4.00 | 445.00 | 1,780.00 | ||
28 | 7 | GC 385/65R22.5 AT131 CHI | 2.00 | 1,650.00 | 3,300.00 | ||
29 | 8 | KM 265/70R16 KOR | 4.00 | 880.00 | 3,520.00 | ||
30 | 9 | DONGA 66A L KOR | 2.00 | 460.00 | 920.00 | ||
31 | 10 | KM 235/65R17 HP71 KOR | 4.00 | 625.00 | 2,500.00 | ||
32 | 11 | KM 235/55R19 PS71 KOR | 4.00 | 675.00 | 2,700.00 | ||
33 | 12 | DROUB 90A L KOR | 1.00 | 575.00 | 575.00 | ||
34 | 13 | KM 13R22.5 MA11 KOR | 2.00 | 2,550.00 | 5,100.00 | ||
35 | 14 | VEGA 70A R KOR | 4.00 | 530.00 | 2,120.00 | ||
36 | 15 | KM 225/70R16 TA21 KOR | 4.00 | 535.00 | 2,140.00 | ||
37 | 16 | KM 195/65R15 TA21 KOR | 4.00 | 385.00 | 1,540.00 | ||
38 | 17 | DROUB 70A L KOR | 30.00 | 500.00 | 15,000.00 | ||
39 | 18 | VIPIEMME 70A L It | 2.00 | 525.00 | 1,050.00 | ||
40 | 19 | KM 225/60R16 TA21 KOR | 4.00 | 465.00 | 1,860.00 | ||
41 | 20 | KM 285/60R18 KL61 VIT | 5.00 | 775.00 | 3,875.00 | ||
42 | 21 | DROUB 60A L KOR | 2.00 | 420.00 | 840.00 | ||
43 | 22 | XPRO 90A L KOR | 2.00 | 550.00 | 1,100.00 | ||
44 | 23 | XPRO 70A R KOR | 1.00 | 475.00 | 475.00 | ||
45 | TOTAL | 97.00 | 58,485.00 | ||||
SH1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D45,F45 | D45 | =SUM(D22:D44) |
F22:F44 | F22 | =D22*E22 |
thanks