Sub 解答例() Dim x() i = 1 Do While Cells(i, 1) <> "" i = i + 1 Loop kosu = i - 1 Cells(1, 2) = "個数" Cells(1, 3) = kosu ReDim x(kosu) For i = 1 To kosu x(i) = Cells(i, 1) Next i wa = 0 For i = 1 To kosu wa = wa + x(i) Next i Cells(2, 2) = "合計" Cells(2, 3) = wa heikin = wa / kosu Cells(3, 2) = "平均" Cells(3, 3) = heikin wa = 0 For i = 1 To kosu wa = wa + (x(i) - heikin) ^ 2 Next i Cells(4, 2) = "分散" Cells(4, 3) = wa / kosu End Sub |
プライム会員限定セール「Echo Buds」が在庫切れ、ワイヤレス充電対応の3,980円は在庫あり
-
Amazonプライム会員限定で2,980円(通常12,980円)で購入できる「Echo Buds」の単体は在庫切れに。
9月30日(火)9:30時点で、ワイヤレス充電対応ケースとのセットは購入可能。セール価格は3,980...
0 件のコメント:
コメントを投稿