in reply to group and print data seperately

Can't you apply/adapt the code you received in Re: find min, max and average?