This article explains how to use SUMIFS functions
SUMIFS(DA_C, DA_A, 1, DA_B, 2)
SUMIFS(DA_C, DA_A, QA, DA_B, QB)
SUMIFS(find_column_reference, criteria_column_reference1, criterion1, [criteria_column_reference2, criterion2, …])
Part of the formula between brackets  is optional. You don't include the brackets in your actual formula
The formula can look overwhelming, but is actually pretty simple.
- You first provide the column number in which you want to retrieve the result with
- aka the column reference to be summed.
The next part are pairs for all the conditions you want to check. You first provide the column reference where to match the condition and secondly provide the condition to be met, e.g.
- the column reference of cells to be evaluated by criterion1.
- the condition to be met by cells in criteria_column_reference1.
criterion2, … (optional) - additional column references and criteria to test.