Skip to content

Instantly share code, notes, and snippets.

@DuongAQ
Created March 12, 2018 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DuongAQ/9dc1ed4a0def8bc849d0a17bb3b9c30a to your computer and use it in GitHub Desktop.
Save DuongAQ/9dc1ed4a0def8bc849d0a17bb3b9c30a to your computer and use it in GitHub Desktop.
Function SumByRow(range, row) 'Hàm tính tổng theo dòng bất kỳ trong mảng
With Application.WorksheetFunction
SumByRow = .Sum(.Index(range, row, 0))
End With
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment