VincentCrimmins
Programmer
Hi,
I have a list of values, both positive and negative ranging between -5 and +5, defined in VBA as:
DailyPerf = Range("B2:B" & LastRowDailyPerf)
I've calculated the Average as follows:
Cells(20, 7) = Excel.WorksheetFunction.Avg(DailyPerf)
I want to calculate the average of the positive values. Is it possible to do this using the format for calculating the Average in Cells(20,7)?
Thanks!
I have a list of values, both positive and negative ranging between -5 and +5, defined in VBA as:
DailyPerf = Range("B2:B" & LastRowDailyPerf)
I've calculated the Average as follows:
Cells(20, 7) = Excel.WorksheetFunction.Avg(DailyPerf)
I want to calculate the average of the positive values. Is it possible to do this using the format for calculating the Average in Cells(20,7)?
Thanks!