P
Pete
Hi,
I would like to calculate the Min, Median and Max values in non consecutive
rows via VBA.
Year Value
2007 10
2007 20
2008 11
2009 12
2007 30
2008 25
2009 55
2008 26
2008 16
2009 40
I would like to represent the results as follows:
2007 Min = xxx
Median = xxx
Max = xxx
2008 Min = xxx
Median = xxx
Max = xxx
2009 Min = xxx
Median = xxx
Max = xxx
Any idea what my code would look like?
Pete.
I would like to calculate the Min, Median and Max values in non consecutive
rows via VBA.
Year Value
2007 10
2007 20
2008 11
2009 12
2007 30
2008 25
2009 55
2008 26
2008 16
2009 40
I would like to represent the results as follows:
2007 Min = xxx
Median = xxx
Max = xxx
2008 Min = xxx
Median = xxx
Max = xxx
2009 Min = xxx
Median = xxx
Max = xxx
Any idea what my code would look like?
Pete.