Skip to content

Instantly share code, notes, and snippets.

@DuongAQ DuongAQ/SumByCol.bas
Created Mar 12, 2018

Embed
What would you like to do?
Function SumByCol(range, column) 'Hàm tính tổng theo cột bất kỳ trong mảng
With Application.WorksheetFunction
SumByRow = .Sum(.Index(range, 0, column))
End With
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.