I would repeat autofilling the item in column A for each part locate before TOTAL row . some parts contian one item , so no need repeat the item .
I would do that by macro please.
before
after
I would do that by macro please.
before
ITEM.xlsm | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | DEL NO | BATCH NO | TTL | TT1 | ||
2 | CC | CC-1 | SS-1 | TRU | ||
3 | CC-1 | SS-1 | LTR | |||
4 | CC-2 | SS-2 | FG | |||
5 | TOTAL | |||||
6 | CCN | CC-1 | SS-1 | TRR | ||
7 | CC-1 | SS-1 | LTR | |||
8 | TOTAL | |||||
9 | CD | CS-1 | LL-1 | RRL | ||
10 | CS-2 | LL-2 | TTY | |||
11 | CS-3 | LL-3 | MMW | |||
12 | CS-4 | LL-4 | NNW | |||
13 | TOTAL | |||||
14 | CCL | CC-2 | SS-2 | LTR | ||
15 | TOTAL | |||||
16 | CCM | CC-3 | SS-3 | LTR | ||
17 | TOTAL | |||||
data |
after
ITEM.xlsm | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | DEL NO | BATCH NO | TTL | TT1 | ||
2 | CC | CC-1 | SS-1 | TRU | ||
3 | CC | CC-1 | SS-1 | LTR | ||
4 | CC | CC-2 | SS-2 | FG | ||
5 | TOTAL | |||||
6 | CCN | CC-1 | SS-1 | TRR | ||
7 | CCN | CC-1 | SS-1 | LTR | ||
8 | TOTAL | |||||
9 | CD | CS-1 | LL-1 | RRL | ||
10 | CD | CS-2 | LL-2 | TTY | ||
11 | CD | CS-3 | LL-3 | MMW | ||
12 | CD | CS-4 | LL-4 | NNW | ||
13 | TOTAL | |||||
14 | CCL | CC-2 | SS-2 | LTR | ||
15 | TOTAL | |||||
16 | CCM | CC-3 | SS-3 | LTR | ||
17 | TOTAL | |||||
data |