Question: what is the group function in excel?
Answer: Select the rows or columns you want to group. In this example, we'll select columns A, B, and C. ... 
Select the Data tab on the Ribbon, then click the Group command. Clicking the Group command.
The selected rows or columns will be grouped. In our example, columns A, B, and C are grouped together.