I'm trying to find a way to duplicate a line based on data from another cell. For example, if I have a line that includes A, B, C, and/or D in a list in one cell, I'd like to make duplicate lines where the Primary column name is changed to {Primary column} - A/B/C/D, while all other data from other columns is preserved.
So, there could be one to four duplicate lines needed depending on what is selected in that list.
I've tried building automations to do it by copying the line to a swap sheet, changing it, then copying back, but that only works once and then the automation in the Swap Sheet breaks and needs to be re-enabled (and even then I can't get the Primary column data to be retained properly, it literally changes to "{Primary Column} - A").
If there's a way to do it based on a form submission, that would be even better, but I haven't been able to figure that out either.