I need to sum values in a column if both serial numbers match AND if the match's date is less than 5 days ago.
I can do both individually:
=SUMIF('All2'!$AH$3:$AH$1000,F4,'All2'!$AI$3:$AI$1000)
=SUMIF('All2'!$AJ$3:$AJ$1095,"<="&NOW()-5,'All2'!$AI$3:$AI$1095)
But I can't for the life of me figure out how to combine the two. Any help would be very appreciated!
I can do both individually:
=SUMIF('All2'!$AH$3:$AH$1000,F4,'All2'!$AI$3:$AI$1000)
=SUMIF('All2'!$AJ$3:$AJ$1095,"<="&NOW()-5,'All2'!$AI$3:$AI$1095)
But I can't for the life of me figure out how to combine the two. Any help would be very appreciated!