level 4
前一阵子电脑崩溃了,现在用个excel都黑屏,哭晕
2017年05月12日 12点05分
2
level 12
贴吧大把大神都会的,电脑不在身边,你不急的话,明天帮你解决。
2017年05月12日 13点05分
10
好的,谢谢你
![[玫瑰]](/static/emoticons/u73abu7470.png)
![[玫瑰]](/static/emoticons/u73abu7470.png)
感激涕零
2017年05月12日 13点05分
level 10
Sub pj()
Dim zu, hang As Integer
Dim i, j, k As Integer
Dim av As Double
zu = 32 '32组
hang = 20000 '20000行数据
For i = 2 To hang + 1 '行
For j = 1 To 12 '每行12个平均值需要计算
av = 0
For k = 1 To zu 'zu个数据求平均值
av = av + CDbl(Cells(i, (k - 1) * 12 + j))
Next k
av = av / zu
Cells(i, zu * 12 + j) = av
Next j
Next i
End Sub
2017年05月12日 14点05分
11