Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need to create an array in VBA and then perform a MEDIAN function on it. The data in the sheet which will be used to create the array is as follows: A B 2 1 3 2 1 3 2 4 3 5 Column B refers to a VALUE, Column A refers to the COUNT of the number of instance of that value in the desired array. ie the array (1-dimensional list really) actually looks like: 1 1 2 2 2 3 4 4 5 5 5 What i am trying to do is create a FUNCTION which uses the ranges in columns A&B to create this array and the return the MEDIAN of the array back (in this small example, the MEDIAN is 3). Any ideas please? Thanks in Advance, Tigpup |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 doesnt show Y-axis values when the values are small. | Charts and Charting in Excel | |||
Creating A Chart that counts repitition (don't know name) | Charts and Charting in Excel | |||
Formula That Counts First Value Only In Array As A Condition | Excel Worksheet Functions | |||
Creating an column of values from an existing array | New Users to Excel | |||
Creating small "recordset" or sorting a numeric 1-dim array | Excel Programming |