I am making a template for a formula

but I am not sure why I am getting error message in the formula

here is the sample:

calculation_question1.xlsx