Sum Column B based on Column A using Excel VBA Macro

后端 未结 6 645
清酒与你
清酒与你 2021-01-17 00:59

OK, I have a simple problem that I need help with in a VBA Macro. I have an excel sheet that looks like this...

Product #     Count
101              1
102          


        
6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-17 01:48

    Based the code in Sub doIt(), is possible in the for Each ycle to retrive also the number of occurence?

    Example:

    Product # 101 have 4 occurence

    Product # 102 have 2 occurence ecc...

提交回复
热议问题