I'm still learning to use nested formulas, and I'm trying to divide this particular formulate below by 7, but when I put /7 the output is incorrect (in this case the sum is 24 but the output of when I put /7 I get 20 - which is definitely not right). Please help!

=IF(AND(C86=0,C86<6),1,IF(AND(C86>5,C86<16),2,IF(AND(C86>15,C86<25),3,IF(AND(C86>24,C86<35),4,IF(C86>34,5,0)))))+IF(AND(D86=0,D86<6),1,IF(AND(D86>5,D86<16),2,IF(AND(D86>15,D86<25),3,IF(AND(D86>24,D86<35),4,IF(D86>34,5,0)))))+IF(AND(E86=0,E86<6),1,IF(AND(E86>5,E86<16),2,IF(AND(E86>15,E86<25),3,IF(AND(E86>24,E86<35),4,IF(E86>34,5,0)))))+IF(AND(F86=0,F86<6),1,IF(AND(F86>5,F86<16),2,IF(AND(F86>15,F86<25),3,IF(AND(F86>24,F86<35),4,IF(F86>34,5,0)))))+IF(AND(G86=0,G86<6),1,IF(AND(G86>5,G86<16),2,IF(AND(G86>15,G86<25),3,IF(AND(G86>24,G86<35),4,IF(G86>34,5,0)))))+IF(AND(H86=0,H86<6),1,IF(AND(H86>5,H86<16),2,IF(AND(H86>15,H86<25),3,IF(AND(H86>24,H86<35),4,IF(H86>34,5,0)))))+IF(AND(I86=0,I86<6),1,IF(AND(I86>5,I86<16),2,IF(AND(I86>15,I86<25),3,IF(AND(I86>24,I86<35),4,IF(I86>34,5,0)))))

Thank you in advance!