If you have y yards of ribbon and you need to cut it into x yard lengths, then:
If y is divisible by x evenly (no remainder), then you need to make (y/x) - 1 cuts
If y is not divisible by x evenly (there is a remainder), then you need to make y/x cuts.