User Defined Functions

G

Gabe Chan

I'm working on a project that involves two-way analysis of election results from the past 6 elections. To do the analysis I need to find the midmean of a data set. The midmean is the average of the values between the first quartile (25th percentile) and the third quartile (75th percentile). Is there any way to create a user defined function that carries out this process?
Also, if there is no way to create a user defined function, would it be possible to use a macro that would take an input of data, order it, find the quartiles and then find the mean of the values between the quartiles.
In addition, would it be easier to make user defined functions on Microsoft Access?

Thank you,
Gabe Chan
(e-mail address removed)
 
S

Stephen Bye

Use the TRIMMEAN function.

Gabe Chan said:
I'm working on a project that involves two-way analysis of election
results from the past 6 elections. To do the analysis I need to find the
midmean of a data set. The midmean is the average of the values between the
first quartile (25th percentile) and the third quartile (75th percentile).
Is there any way to create a user defined function that carries out this
process?
Also, if there is no way to create a user defined function, would it be
possible to use a macro that would take an input of data, order it, find the
quartiles and then find the mean of the values between the quartiles.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top