Sub jaik22()
Dim lrow As Long
Dim myclm As Integer
myclm = 1 'Change to the column you would like to evaluate
lrow = Cells(Rows.Count, myclm).End(xlUp).Row 'Calculates last row
Cells(lrow + 1, myclm) = WorksheetFunction.Sum(Range(Cells(1, myclm), Cells(lrow, myclm))) 'Sums the column you choose and places it in the last row + 1
End Sub
myclm = 1 'Change to the column you would like to evaluate
Column I
[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]-96[/TD]
[/TR]
[TR]
[TD="align: right"]-96[/TD]
[/TR]
[TR]
[TD="align: right"]-96[/TD]
[/TR]
[TR]
[TD="align: right"]-192[/TD]
[/TR]
[TR]
[TD="align: right"]-72[/TD]
[/TR]
[TR]
[TD="align: right"]69.17647[/TD]
[/TR]
[TR]
[TD="align: right"]138.3529[/TD]
[/TR]
[TR]
[TD="align: right"]240[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-24[/TD]
[/TR]
[TR]
[TD="align: right"]1152[/TD]
[/TR]
[TR]
[TD="align: right"]48[/TD]
[/TR]
[TR]
[TD="align: right"]276.7059[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-96[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-24[/TD]
[/TR]
[TR]
[TD="align: right"]-24[/TD]
[/TR]
[TR]
[TD="align: right"]-72[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-72[/TD]
[/TR]
[TR]
[TD="align: right"]-72[/TD]
[/TR]
[TR]
[TD="align: right"]456[/TD]
[/TR]
[TR]
[TD="align: right"]120[/TD]
[/TR]
[TR]
[TD="align: right"]172.9412[/TD]
[/TR]
[TR]
[TD="align: right"]172.9412[/TD]
[/TR]
[TR]
[TD="align: right"]144[/TD]
[/TR]
[TR]
[TD="align: right"]-24[/TD]
[/TR]
[TR]
[TD="align: right"]-360[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-72[/TD]
[/TR]
[TR]
[TD="align: right"]-48[/TD]
[/TR]
[TR]
[TD="align: right"]-120[/TD]
[/TR]
[TR]
[TD="align: right"]216[/TD]
[/TR]
[TR]
[TD="align: right"]69.17647[/TD]
[/TR]
[TR]
[TD="align: right"]600[/TD]
[/TR]
[TR]
[TD="align: right"]48[/TD]
[/TR]
[TR]
[TD="align: right"]24[/TD]
[/TR]
[TR]
[TD="align: right"]241.8706[/TD]
[/TR]
[TR]
[TD="align: right"]241.8706[/TD]
[/TR]
[TR]
[TD="align: right"]2343.035[/TD]
[/TR]
</tbody>[/TABLE]
Sub jaik22()
Dim lrow As Long
Dim myclm As Integer
myclm = 9 'Change to the column you would like to evaluate
lrow = Cells(Rows.Count, myclm).End(xlUp).Row 'Calculates last row
Cells(lrow + 1, myclm) = WorksheetFunction.Sum(Range(Cells(1, myclm), Cells(lrow, myclm))) 'Sums the column you choose and places it in the last row + 1
End Sub
Sub SumColumnI()
' hiker95, 10/14/2016, ME970497
Dim lr As Long
Application.ScreenUpdating = False
With ActiveSheet
lr = .Cells(Rows.Count, "I").End(xlUp).Row
With .Range("I" & lr + 1)
.Formula = "=Sum(I1" & ":" & "I" & lr & ")"
.NumberFormat = "#,##0.00000"
End With
.Columns("I").AutoFit
End With
Application.ScreenUpdating = True
End Sub