Adding extra columns + append numerical values

@FredFery here are some more examples that might help. I might take a look at the data later. But I agree with @rfeigel: you will have to define what you want to do and how groups are defined. The definition can be complex but it will have to follow a logic.