I want to thank all contributors for their time and expertise!
I was originally looking for a PQ solution but the TRANSPOSE formula works PERFECTLY - it's BRILLIANT!
But the PQ solution from pinarello seems to work beautifully too; I will need to go over the steps to see if I can replicate it myself.
Thank you all so much again!
I have now merged the two previous queries (1 time definition desired number of columns and 1 time definition desired number of rows) into one query.
Thus, rows or columns and the corresponding number can now be selected in this combined query.
Compared to the formula solution (TRANSPOSE/SEQUENCE), the advantage of the Power Query is that the result can also contain empty cells. This is always the case if the division of the total number of input records by the desired number of rows/columns results in a remainder.
Bookmarks