Sub deger()
Dim sonuc As Double
For j = 4 To 37
sonuc = 0
For i = 2 To 31
If Sayfa5.Cells(i, j).Value = "" Then
Else
sonuc = sonuc + ((-CDbl(Sayfa5.Cells(i, 2).Value)) * CDbl(Sayfa5.Cells(i, j).Value))
End If
Next i
Sayfa5.Cells(32, j).Value = sonuc
Next j
End Sub
Dim sonuc As Double
For j = 4 To 37
sonuc = 0
For i = 2 To 31
If Sayfa5.Cells(i, j).Value = "" Then
Else
sonuc = sonuc + ((-CDbl(Sayfa5.Cells(i, 2).Value)) * CDbl(Sayfa5.Cells(i, j).Value))
End If
Next i
Sayfa5.Cells(32, j).Value = sonuc
Next j
End Sub
