SumIFAnother useful Excel function is SumIF. This function is like CountIf, except it adds one more argument: View Docs