Hi @PaulN,
See an example on how to calculate inside a repeat group:
In the survey sheet:
In the choices sheet: