If you want to calculate group mean based on group column B, you can try the following: 1. Highlight Col(B), select from menu Worksheet:Remove/Combine Duplicated Rows.. 2. In the dialog, set Merge Duplications by to Average. Set Output Worksheet to <New>, click OK.