CHECKBOX CONDITIONAL

I have a task and few subtasks that have a column which is of checkbox format.

I need to create a condition, such that, if all the check boxes for the subtasks are ticked, then the check box for the main task should also be ticked, else it should be left unchecked. 

I tried to apply the following: 

IF(AND(SUBTASK1:SUBTASK5) = 1, 1, 0)

However it is not working. 

Please refer to attached image for reference. 

 

Capture1.PNG

Comments