bobkap
Active Member
- Joined
- Nov 22, 2009
- Messages
- 313
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
I have a report I need to run weekly. Typically, there are around 2,000 rows of data. Where a specific cell in the same column have the same data, I want to sum the data in another cell on the same row (vlookup), plus count the number of entries. As an example:
57 Apples
12 Bananas
6 Pears
7 Pears
6 Bananas
How do I use vba to collect and store my total sum AND count of each fruit? OR, should I try to accomplish this using a pivot table?
57 Apples
12 Bananas
6 Pears
7 Pears
6 Bananas
How do I use vba to collect and store my total sum AND count of each fruit? OR, should I try to accomplish this using a pivot table?