I'm looking for guidance on how to set up my Apps Script file to transpose data from one tab to another. A sample file of my data can be found here.
I currently have 10 columns in the rawData tab: [date], [submitter], [program a - region], [program a - first choice], [program a - second choice], [program a - third choice], and then repeat col 3, 4, 5, 6 for program b.
I would like to transpose each value that shows up in any of the first/second/third choice columns into a separate row that contains the date, submitter, region, and program a/b (this value would be assigned based on where values show up).
What I would like to achieve can be found here.
I've found resources that allow me to transpose the full table into a row, but I do not know how to avoid NULL values or assign values for a column.
Any tips or guidance is appreciated.