I
inquirer
Is there a way to make the average funtion work in vba so that it
selects only values >0 in a given range?
Something like
avv = Application.WorksheetFunction.Average(if(Range("'data'!" & srt) > 0))
=average(if(b2.b500>0))
works in excel and I'd like the equivqlent in vba if possible
Thanks
Chris
selects only values >0 in a given range?
Something like
avv = Application.WorksheetFunction.Average(if(Range("'data'!" & srt) > 0))
=average(if(b2.b500>0))
works in excel and I'd like the equivqlent in vba if possible
Thanks
Chris