I would like to convert several range of columns into rows, and keeping the association to the original col/row source
Sample source sheet
---------------------------------------------------
| Data 1 | 1/1/2018 | 1/2/2018 | 1/3/2018 | etc...365 days |
---------------------------------------------------
| name 1 | 25 | 30 | 5 | etc...|
---------------------------------------------------
| name 2 | 2 | | 4 | etc...|
---------------------------------------------------
| etc ... 100 rows
Expected Results
---------------------------------------------------
| Data 1 | Date | Value |
---------------------------------------------------
| name 1 | 1/1/2018 | 25 |
---------------------------------------------------
| name 1 | 1/2/2018 | 30 |
---------------------------------------------------
| name 1 | 1/3/2018 | 5 |
---------------------------------------------------
| name 1 | etc.. 365 days
---------------------------------------------------
| name 2 | 1/1/2018 | 2 |
---------------------------------------------------
| name 2 | 1/2/2018 | |
---------------------------------------------------
| name 2 | 1/3/2018 | 4 |
---------------------------------------------------
| name 2 | etc.. 365 days
---------------------------------------------------
| etc ... for each change of name pull all the col dates/values
Current results
---------------------------------------------------
| Data 1 | Date | Value |
---------------------------------------------------
| name 1 | 1/1/2018 | 25 |
---------------------------------------------------
| | 1/2/2018 | 30 |
---------------------------------------------------
| | 1/3/2018 | 5 |
---------------------------------------------------
| | etc.. 365 days I have to copy down to bring in "name 1" for each date
---------------------------------------------------
| name 2 | 1/1/2018 | 2 | now update the formula to bring in the second item for the sequence of dates
---------------------------------------------------
| | 1/2/2018 | |
---------------------------------------------------
| | 1/3/2018 | 4 |
---------------------------------------------------
| | etc.. 365 days
---------------------------------------------------
| etc ...
=Sheet1!A:A
I can bring in the name from the source list, but I have to copy it down for the number of dates. How can I have it match the number of dates? and be dynamic to update as dates/values are added
Edit: trying to use split and rept to count the number of times to repeat, then transpose.. =transpose(rept(split(arrayformula(concatenate(Sheet1!A:A&"1")),"1",True, True),COUNTA(Sheet1!I1:ZZ1)))
=TRANSPOSE(Sheet1!$C$1:$Z$1)
I can use transpose to get the dates/values, but it's fixed range. How can I make it dynamic to import dates as they are added?