Something like this?
=IF(C7<=B1,"ceiling" &((B1-C7)/$B$3),0)