Unsure what the intended modulo use is here but if there’s an easier method then by all means.

@peter.mccorkell it’s tricky to help further with the limited information above, it all depends quite heavily on the setup. What I’ve provided for you is just an option to illustrate a potential pathway, but may vary if you have specific 3rd party applications with their own requirements or other external factors.

You could have each cell as it’s own “thing” if it suits, which may then in turn make it easier to work with an embedded app inside your rg.