L Lynn63 Registered User. Local time Today, 10:12 Joined Oct 8, 2001 Messages 14 Nov 1, 2001 #1 I need to calculate the median of a group of numbers in a query. Excel does this nicely, but I cannot find a function in Access. Does anyone out there know where I can get my hands on such a function to use in Access? Thanks in advance.
I need to calculate the median of a group of numbers in a query. Excel does this nicely, but I cannot find a function in Access. Does anyone out there know where I can get my hands on such a function to use in Access? Thanks in advance.
pcs Registered User. Local time Today, 04:12 Joined May 19, 2001 Messages 398 Nov 2, 2001 #2 try this link: http://support.microsoft.com/support/kb/articles/q95/9/18.asp?id=Q95918 you might also want to search the KB for: Statistical Median to see other options. hth, al
try this link: http://support.microsoft.com/support/kb/articles/q95/9/18.asp?id=Q95918 you might also want to search the KB for: Statistical Median to see other options. hth, al
L Lynn63 Registered User. Local time Today, 10:12 Joined Oct 8, 2001 Messages 14 Nov 2, 2001 #3 Thanks, it worked!
PearlGI Registered User. Local time Today, 10:12 Joined Aug 30, 2001 Messages 125 Nov 7, 2001 #4 I realise that you've already solved your issue, but as an alternative for future use, refer to the Example 1 in this link: http://support.microsoft.com/support/kb/articles/Q153/7/48.ASP This uses the Excel median function rather than 'reinventing the wheel'. Just feed the results of your query into an array and then refer to this array in the function.
I realise that you've already solved your issue, but as an alternative for future use, refer to the Example 1 in this link: http://support.microsoft.com/support/kb/articles/Q153/7/48.ASP This uses the Excel median function rather than 'reinventing the wheel'. Just feed the results of your query into an array and then refer to this array in the function.