I have researched this issue everywhere, and I can\'t find an answer to my particular situation.
Here\'s my SumIfs statement.
B_white = Application.S
B_white = Application.Sum(Application.SumIfs(Range("G84:G" & LastRow), Range("G84:G" & LastRow), "1", Range("K84:K" & LastRow), "B*", Range("L84:L" & LastRow), Array("2 (test)", "2")))
You can try Sumproduct
with an array-version of SumIfs
:
B_white = Application.SumProduct(Application.SumIfs(Range("G84:G" & LastRow), _
Range("G84:G" & LastRow), "1", Range("K84:K" & LastRow), "B*", _
Range("L84:L" & LastRow), Array("2", "2 (test)")))
' ^^^^^^^^^^^^^^^^^^^^^^