I am trying to find an Average from a list of numbers in the array. I tried searching the forum and QTP but did n't get any results. Can some one please suggest?
VJ1111, this should pretty elementary:
Dim Sum, Avg
Sum = 0
For i=0 to (ubound(Array) - 1)
Sum = Sum + Array(i)
Avg = Sum / ubound(Array)
If ya got beef then fool eat a pork chop.