how to transform a table in Excel from vertical to horizontal but with different length
Here, a solution that uses DROP/REDUCE/VSTACK pattern to generate each row. Check for example @JvdV’s answer from this question: How to split texts from dynamic range? and a similar idea DROP/REDUCE/HSTACK pattern to generate the columns for a given row. In cell E2 put the following formula: =LET(set, A2:B13, IDs, INDEX(set,,1), dates, INDEX(set,,2), HREDUCE, LAMBDA(id, … Read more