Great - I was able to adapt that MOD formula and it worked well.

Many thanks