I have this table
| Name (Col A) | Start Date (Col B) | End Date (Col C) |
|---|---|---|
| Name_1 | 1/31/2023 | 2/2/2023 |
| Name_2 | 1/16/2023 | 1/17/2023 |
and I am trying to change it to a long format, like this:
| Name | Date |
|---|---|
| Name_1 | 1/31/2023 |
| Name_1 | 2/1/2023 |
| Name_1 | 2/2/2023 |
| Name_2 | 1/16/2023 |
| Name_2 | 1/17/2023 |
I tried using sequence & splits, but I can only make it work for the first row, and i want the formula to dynamically add rows in table 2 whenever there is a new line in table 1.
Here is the formula am using:
=ARRAYFORMULA( SPLIT( A2& ","&SEQUENCE(C2-B2+1,1,B2,1),","))I want it in either Google Sheets, but having them both would be great.