You should use VLOOKUP
with ARRAYFORMULA
to fetch the statuses of the column and COUNTIF
to match only the "Done" status.
For First:
=COUNTIF(ARRAYFORMULA(VLOOKUP(Subject!A:A, Jobs!A:B, 2, FALSE)), "Done")
For Second:
=COUNTIF(ARRAYFORMULA(VLOOKUP(Subject!B:B, Jobs!A:B, 2, FALSE)), "Done")
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…