Hello community,
I need help to add 1 more criteria for following SUMIFS but can't figure out how to do that. And there is no any similar question on the internet.
Criteria I want to add:
if wks.Range("K:K"), {"Cash Reload","Cash","Reload"}
Hope someone can help me to figure out.
Thanks
I need help to add 1 more criteria for following SUMIFS but can't figure out how to do that. And there is no any similar question on the internet.
Criteria I want to add:
if wks.Range("K:K"), {"Cash Reload","Cash","Reload"}
VBA Code:
Profit = WorksheetFunction.SumIfs(wks.Range("K:K"), wks.Range("C:C"), ws.Cells(x, 9 + i).Value, _
wks.Range("F:F"), ">=" & firstDate, _
wks.Range("F:F"), "<=" & secondDate)
Hope someone can help me to figure out.
Thanks