Thank you
Your method gives the right answers but each function is applied on the whole row which results in having many rows as I have show in the last table. Any suggestion to indicate that the function should only be applied on the cell and not the whole row.
Regards
Sarah