Kriskros07
New Member
- Joined
- Sep 1, 2011
- Messages
- 11
Hi,
I have an unsorted column of values which range between 0 and 100. Using VBA formula i need to return the median (in terms of sorted position) value. An added complexity is that i only wish to look at values in the range (column) which meet criteria against another column. e.g consider the following table where we wish to find the median value where column 1 = B
A 1
B 4
C 2
B 2
D 9
B 56
There are 3 values for B and the median would therefore be 4.
Any help would be greatly appreciated
I have an unsorted column of values which range between 0 and 100. Using VBA formula i need to return the median (in terms of sorted position) value. An added complexity is that i only wish to look at values in the range (column) which meet criteria against another column. e.g consider the following table where we wish to find the median value where column 1 = B
A 1
B 4
C 2
B 2
D 9
B 56
There are 3 values for B and the median would therefore be 4.
Any help would be greatly appreciated