Discussion Locked

Median function in Microsoft Access

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do you perform median functions in Microsoft Access 2000? Currently I export a data set to Excel to find the median. Is there a simpler way? Thanks much.

5 replies

by mckaytech

If you don't mind rolling up your sleeves and doing a little programming, an expression to calculate the median can be cobbled together from the functions Access does provide.

You basically create an ordered list (sorted by value) of the values, count the number of values in the list, divide that number by two and return the value associated with it as the median. All the building blocks to do so are in the Expression Builder and could be entered in the expression field of the query that provided the ordered list.

paul

by jeffl

Use a report to find the median. A quick search of the Access help files revealed an almost step-by-step procedure for it (search reports, calculations).

Hope this helps!

This discussion is closed to new replies.