what is the formula to find a median of grouped data

Median = L + I *(N/2 - F)/f

where:

L = lower limit of the interval containing the median

I = width of the interval containing the median

N = total number of respondents

F = cumulative frequency corresponding to the lower limit

f = number of cases in the interval containing the median

Hope this is what you were looking for.