Completion Formula for a Short Sum Modulo $q$