see below…

=IF((C5>=38)*(C5<=40),B5+1,IF((C5<=$V$61)*(C5<>""),B5-$W$63,IF((B5<>"")*(C5=""),B5,IF((B5="")*(C5=""),""))))

I don't know how the "logical_test"(s) shown below from the above IF statements are read... ( aka: determined to be True or False)

(C5>=38)*(C5<=40)

(C5<=$V$61)*(C5<>"")

(B5<>"")*(C5="")

(B5="")*(C5="")

thanks...