libreoffice – Calc/Excel aggregating data with same ID

Hello i have to solve this problem in Libreoffice Writer or excel.
I have a table like this:

ID   V1   V2   V3  ...
1    10   20   30  ...
1    30   40   50  ...
1    5    7    8   ...
..   ..   ..   ..  ...
2    10   11   12  ...
1    5    4    1   ...

With a big (but fixed) number of rows and columns, i want to produce something like:

ID   V1   V2   V3  ...
1    45   67   88  ...
2    15   15   13  ...

Basically i’m going to sum up every value of each row that shares the first value (ID)

How can i do this?
Thank you.