If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Computing Median
I need to compute the median not an average.
Using help in Access 2000 it says there is a worksheet function "median". No there is not. It says undefined function when I try to use it. I have found the help in access 2000 to be totally worthless. It gives me answers that are out and out wrong. |
#2
|
|||
|
|||
Do a search on "median" and you will find lots of information.
"mcl" wrote: I need to compute the median not an average. Using help in Access 2000 it says there is a worksheet function "median". No there is not. It says undefined function when I try to use it. I have found the help in access 2000 to be totally worthless. It gives me answers that are out and out wrong. |
#3
|
|||
|
|||
I did a search for median in access2000 help and that's all I got. A
worksheet function that doesn't really exist. "KARL DEWEY" wrote in message ... Do a search on "median" and you will find lots of information. "mcl" wrote: I need to compute the median not an average. Using help in Access 2000 it says there is a worksheet function "median". No there is not. It says undefined function when I try to use it. I have found the help in access 2000 to be totally worthless. It gives me answers that are out and out wrong. |
#4
|
|||
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 The VBA help also includes the Excel VBA help, that's where the Median() function description is coming from. Here is a query I found on an SQL Server newsgroup that supposedly finds the median (I've changed it's syntax so it can be used in Access - substitute your column names and table names) [this query is untested in access]: SELECT AVG(splunge1) As Median FROM ( SELECT splunge1 FROM ( SELECT TOP 1 splunge2 * 1.0 As splunge1 FROM ( SELECT TOP 50 PERCENT splunge2 FROM blat ORDER BY splunge2 ) As sub_a ORDER BY 1 DESC ) As sub_1 UNION ALL SELECT splunge1 FROM ( SELECT TOP 1 splunge * 1.0 As splunge1 FROM ( SELECT TOP 50 PERCENT splunge2 FROM blat ORDER BY splunge2 DESC ) As sub_b ORDER BY 1 ) As sub_2 ) As median -- MGFoster:::mgf00 at earthlink decimal-point net Oakland, CA (USA) -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBQycVvYechKqOuFEgEQIfmQCgjD/E/IqAwX+6yfS2rcsuPf77uMwAoPfx kkIpTi9HrhP8r8chWHLDoWD8 =ssYD -----END PGP SIGNATURE----- mcl wrote: I did a search for median in access2000 help and that's all I got. A worksheet function that doesn't really exist. "KARL DEWEY" wrote in message ... Do a search on "median" and you will find lots of information. "mcl" wrote: I need to compute the median not an average. Using help in Access 2000 it says there is a worksheet function "median". No there is not. It says undefined function when I try to use it. I have found the help in access 2000 to be totally worthless. It gives me answers that are out and out wrong. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Find Median of Positive numbers only in Range | MichaelC | Worksheet Functions | 4 | June 24th, 2005 03:06 AM |
how do I calculate a median in access? | rsteele | General Discussion | 7 | May 18th, 2005 09:02 PM |
Access NEEDS to have a median function. | PRSAMA | Running & Setting Up Queries | 4 | October 30th, 2004 11:51 PM |
Calculate MEDIAN in queries | Dirk | Running & Setting Up Queries | 8 | September 14th, 2004 04:42 PM |
MEDIAN function | Mr. Bill | Worksheet Functions | 1 | November 20th, 2003 10:08 PM |