Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: ryehCalculating the median was sort of covered in this
post, but it's deeply embedded as part of a larger calculation. I've created a simplified version here. If the number of records is odd, then the middle value is returned. If the number of records is even, the average of the middle two values is returned.
Attachments:
calculateMedian.brg