How would I go about summing the values of one column for all rows containing a name that is part of a target group, as well as a specific year which is in another column?
Example: I would like to sum the values of a, b, c for 2015 to make a new Category, "e", and to do the same for 2016.
Year Category Value
2015 a 2
2015 b 3
2015 c 2
2015 d 1
2016 a 7
2016 b 2
2016 c 1
2016 d 1
To give something like this:
Year Category Value
2015 d 1
2015 e 7
2016 d 1
2016 e 10
Thanks!