Marco for pivot table like fuctions. Subtotal column C, based on column B criteria. Column A is the product.
Because the product code doesn’t copy down I can’t use pivot tables. In this example would need to merge code 82548
COLUMN A B C
206967711 82548 20%
32338 20%
82548 20%
82661 20%
103737 20%
Need results as follows:
COLUMN A B C
206967711 82548 40%
32338 20%
82661 20%
103737 20%
This excel spreadsheet has many more rows which I deleted for security reasons. Most of my daily spreadsheets have thousands of lines which are tedious doing manually. Tried doing sumproduct, array and lookup value which didn’t work. Example spreadsheet is enclosed.
It also would be OK to bring the new totals to column D and E. Thank you in advance.
Bookmarks