Hi all
I am trying to analyse the following dataset and get the total amount of first 5 items of each group(2 grps in total).
I tried to use sumifs but since there are too many unique items in my data, selecting and filtering makes the table too complicated.
Thanks for the help in advance!
Input
Name.....Group.....Amount
AAA.....1..........10
AAA.....1..........20
AAA.....2..........40
BBB.....2..........50
CCC.....1..........60
Output
Name.....Group.....Amount
CCC....1..........60
AAA.....1..........30
BBB.....2..........50
AAA.....2..........40
I am trying to analyse the following dataset and get the total amount of first 5 items of each group(2 grps in total).
I tried to use sumifs but since there are too many unique items in my data, selecting and filtering makes the table too complicated.
Thanks for the help in advance!
Input
Name.....Group.....Amount
AAA.....1..........10
AAA.....1..........20
AAA.....2..........40
BBB.....2..........50
CCC.....1..........60
Output
Name.....Group.....Amount
CCC....1..........60
AAA.....1..........30
BBB.....2..........50
AAA.....2..........40