hello, can anyone help me perform the following calculation in excel please?
I have a long list of items and their quantities, example:
<tbody>
</tbody>
now i would like to merge all the rows with the same value in column A and add up the corresponding values in column B to return the following:
<tbody>
</tbody>
I am guessing I have to run a macro, but I have no idea how to do that... any help would be much appreciated!
thanks, chez
I have a long list of items and their quantities, example:
101001 | 1 |
101001 | 6 |
101001 | 2 |
101001 | 1 |
101002 | 6 |
101002 | 1 |
101003 | 6 |
101004 | 6 |
101005 | 6 |
101050 | 1 |
101050 | 1 |
101050 | 5 |
101050 | 1 |
101050 | 2 |
101050 | 2 |
101050 | 1 |
<tbody>
</tbody>
now i would like to merge all the rows with the same value in column A and add up the corresponding values in column B to return the following:
101001 | 10 |
101002 | 7 |
101003 | 6 |
101004 | 6 |
101005 | 6 |
101050 | 13 |
<tbody>
</tbody>
I am guessing I have to run a macro, but I have no idea how to do that... any help would be much appreciated!
thanks, chez