that totally worked - Thank you!You can use SUMIFS, which is very a similar construct to the COUNTIFS.
SUMIFS Function
The Excel SUMIFS function returns the sum of cells that meet multiple conditions, referred to as criteria. To define criteria, SUMIFS supports logical operators (>,exceljet.net