SUM and GROUP BY in vba
Hi,
A simple problem but a difficult solution (at least for me).
I have two columns. In column A there are different codes that arrive multiple times and that are not sorted, in column B there are numbers.
What I would like to have is simply a new table with a sum of the numbers grouped by each single code. The codes should appear in a specific order.
Has it something to do with the database function DBSUM, or should everything be programmed?
Many thanks,
Wim
|