Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to transpose one tab of data into another tab?

$
0
0

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.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>