Hi Lou,
Welcome to the MrExcel Forum.
Assuming the rows are hidden due to a filter, since you are using SUMIFS, how about adding a second Criteria Range and Criteria which would be equal to the Column and the Criteria that your sheet is filtered on.
This is obviously made up but something like this:
=SUMIFS(D18:D100000,N18:N100000,"ADWO", F18:F100000, "AAAA")
If the rows are hidden for some other purpose other than being filtered. I do not have an answer for you.
I hope this helps.