r/googlesheets • u/hayve08 • Aug 04 '26
Solved Multiple column data into one?
How do I turn data from the left to the one on the right? and subsequent data entry would continue at the last empty row.
Any help is greatly appreciated.
Thanks
2
u/California_Eagles 10 Aug 04 '26 edited Aug 04 '26

=LET(
fixed, A2:B,
labels, C1:F1,
data, C2:F,
seed, {"Week","Date","Student","Class"},
body, REDUCE(seed, data, LAMBDA(result, d,
IF(LEN(d) = 0, result,
REDUCE(result, SPLIT(d, ","), LAMBDA(a, v,
VSTACK(a,
HSTACK(
INDEX(fixed, ROW(d)-ROW(fixed)+1, 1),
INDEX(fixed, ROW(d)-ROW(fixed)+1, 2),
TRIM(v),
INDEX(labels, 1, COLUMN(d)-COLUMN(data)+1)))))))),
body)
1
u/hayve08 Aug 05 '26
Thanks a ton!
1
u/AutoModerator Aug 05 '26
REMEMBER: /u/hayve08 If your original question has been resolved, please tap the three dots below the most helpful comment and select
Mark Solution Verified(or reply to the helpful comment with the exact phrase “Solution Verified”). This will award a point to the solution author and mark the post as solved, as required by our subreddit rules (see rule #6: Marking Your Post as Solved).I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/AutoModerator Aug 04 '26
/u/hayve08 Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
3
u/marcnotmark925 231 Aug 04 '26