Good Morning,
Could a VBA Macro possibly copy the total purchases of a customer found in Column C to Column D for each unique Customer.
Below are two tables, the first table with the raw data and the second table with the final result.
Any help is appreciated.
Thank you
Raw Data Table:
Final Result Table:
Could a VBA Macro possibly copy the total purchases of a customer found in Column C to Column D for each unique Customer.
Below are two tables, the first table with the raw data and the second table with the final result.
Any help is appreciated.
Thank you
Raw Data Table:
Row | Customer | Purchase |
---|---|---|
1 | Bob | Apple |
2 | Bob | Banana |
3 | Bob | Apple |
4 | Total | 3 |
5 | Joey | Orange |
6 | Joey | Orange |
7 | Total | 2 |
8 | Mike | Cherry |
9 | Mike | Strawberry |
10 | Mike | Lemon |
11 | Mike | Apple |
Total | 4 |
Final Result Table:
Row | Customer | Purchase | Total |
---|---|---|---|
1 | Bob | Apple | 3 |
2 | Bob | Banana | |
3 | Bob | Apple | |
4 | Total | 3 | |
5 | Joey | Orange | 2 |
6 | Joey | Orange | |
7 | Total | 2 | |
8 | Mike | Cherry | 4 |
9 | Mike | Strawberry | |
10 | Mike | Lemon | |
11 | Mike | Apple | |
Total | 4 |