Thanks for your answer and my mistake that I did not explain it more.
The group FAMILY and FINANCE are the sum of all the items in the specific share/year that have these identity while the group OTHER is not the sum of the other but the numbers from the highest to the lowest item.
I attached again the file and wonder if you can help me with the same existing formula to add also the variable of the year