Please can you help with a script - I have a spreadsheet used for expenses - if they have purchased the same item several times I would like to merge those rows and the totals so the item only appears i one row
<tbody>
</tbody>
So in the example above- the details that are in column 'F' Milk would merge to one row and the total of all those rows would appear in column K - the row that says 'Milk, Sugar' would not merge with the others.
I would appreciate any help
Thanks
Marc
7801 | T9 | 15/06/2018 | Cleaning | Bags, Bleach, Sponges | 6.00 |
7402 | T9 | 05/06/2018 | Accommodation/ meeting room | Brighton accommodation | 49.99 |
7402 | T9 | 11/06/2018 | Accommodation/ meeting room | Brighton room hire | 12.00 |
7406 | T9 | 06/06/2018 | Refreshment-milk/sugar/etc | Milk | 1.29 |
7406 | T9 | 18/05/2018 | Refreshment-milk/sugar/etc | Milk | 1.29 |
7406 | T9 | 04/06/2018 | Refreshment-milk/sugar/etc | Milk | 1.29 |
7406 | T9 | 11/06/2018 | Refreshment-milk/sugar/etc | Milk | 2.58 |
7406 | T9 | 15/06/2018 | Refreshment-milk/sugar/etc | Milk | 1.29 |
7406 | T9 | 22/05/2018 | Refreshment-milk/sugar/etc | Milk, Sugar | 1.99 |
<tbody>
</tbody>
So in the example above- the details that are in column 'F' Milk would merge to one row and the total of all those rows would appear in column K - the row that says 'Milk, Sugar' would not merge with the others.
I would appreciate any help
Thanks
Marc