I want to group the students of some classes into different groups at school using LibreOffice Calc.
I already have tables for all classes, where I entered the group (1-3) of every student:
What I LibreOffice want to do now, is to copy all students of all classes, which are in group 1 (group 2, group 3, ...), into one new table (Group1). Then, I have one list with the students for every group.
In this example, it would be Name1 and Name6.
I searched the web for hours and played around a lot without success.
Any help is appreciated!!

