This is the way I do it first I find averages from a cumulative frequency
A cumulative frequency diagram is a good way to represent data to find the median , which is the middle value. To find the median value, draw a line across from the middle value of the table.