Formula of mean group data

The formula for the mean of group data is:

Mean = (sum of midpoints of each class * frequency of each class) / (sum of frequencies of all classes)