HELP - difference of Average and median

  • Thread starter Thread starter pentameggy
  • Start date Start date
P

pentameggy

HELP: how do i write a function usinf the worksheet function to fin
the difference between the average and the median of a data set??? an
help appriciated.

thanks!

megg
 
Hi Meggy

as long as i'm not doing your home work for you????

Public Function MEDAVE(medrange As Range)

MEDAVE = Application.WorksheetFunction.Median(medrange) -
Application.WorksheetFunction.Average(medrange)

End Function

creates a function called MEDAVE

Cheers
JulieD
 
Back
Top