vba worksheetfunciton.sumifs w/ nested array help
Range("e" & i).Value = WorksheetFunction.SumIfs(balrange, acctrange, "=" & rangemin, acctrange, "<=" & rangemax, listrange, "=" & Array(2075554, 2075664, 2075665, 2075666, 2075667, 2075668, 2075669, 2075670, 2075671, 2075672, 2075673), dpdrange, "=" & goal1)
trying to use the Array for multiple conditions is not working as is. of course {}'s are invalid charachters in VBA, so that doesnt work.. and every other search i've done for a solution has not been related to the worksheetfunction portion of the code. help please! thank you in advance!
|