H
hon123456
Dear all,
I have excel data as follows:
NO Pieces
--------- ----------
A001 10 pc
A001 20 pc
A001 30 pc
A002 15 pc
A002 15 pc
NowI want to write a VBA to sum a subtotal for the column
of A001 and A002, the outcomes
should as follows:
NO Pieces Subtotal
--------- ---------- ------------
A001 10 pc
A001 20 pc
A001 30 pc 60pc
A002 15 pc
A002 15 pc 30pc
How can I do that in Excel with VBA or other method ?
Thanks.
I have excel data as follows:
NO Pieces
--------- ----------
A001 10 pc
A001 20 pc
A001 30 pc
A002 15 pc
A002 15 pc
NowI want to write a VBA to sum a subtotal for the column
of A001 and A002, the outcomes
should as follows:
NO Pieces Subtotal
--------- ---------- ------------
A001 10 pc
A001 20 pc
A001 30 pc 60pc
A002 15 pc
A002 15 pc 30pc
How can I do that in Excel with VBA or other method ?
Thanks.