I'm trying to figure out a way to do a combination of transposing rows into one long table, but with the row names of the long table concatenated with header and 1st row names. Basically trying to find a formula that will take this:
duration | NJ | NY | NV |
---|---|---|---|
30daynew | 3 | 5 | 10 |
30dayrepeat | 35 | 55 | 5 |
30daysubscribe | 50 | 90 | 9 |
And put it into this:
NJ-30daynew | NJ-30daysrepeat | NJ_30daysubscribe | NY-10days | NY-30daysrepeat | NY_30daysubscribe | NV-10days | NV-30daysrepeat | NV_30daysubscribe |
---|---|---|---|---|---|---|---|---|
3 | 35 | 50 | 5 | 55 | 90 | 10 | 5 | 9 |
Sample data available here