I need help shuffling words in two different formats in Google Sheets.
Format 1: Words in one cell separated by commas like C6: planning, innovative, strategy, effective, results.
Format 2: Same words but each in separate cells like J7: planning, M7: innovative, P7: strategy, S7: effective, U7: results.
The cells aren’t next to each other for layout reasons.
I want to create a formula that automatically generates random word orders from preset lists. I have many lists to process so manual shuffling won’t work.
My current setup:
I’m comparing two similar sentences in Google Sheets. When words don’t match, I use a formula like =if(H4 <> H5, H4, “”) to show the correct word.
Example:
A4: The planning required innovative strategy for effective results.
A5: The _____ required _____ _____ for _____ _____.
My formulas:
G4: =split(REGEXREPLACE(A4, “[^A-Za-z ']”, “”)," ")
G5: =split(REGEXREPLACE(A5, “[^A-Za-z _']”, “”)," ")
G6: =if(G4 <> G5, G4, “”)
This gives me: J7: planning - M7: innovative - P7: strategy - S7: effective - U7: results.
Using C4: =TEXTJOIN(", ", TRUE, G6:Y6) I get: planning, innovative, strategy, effective, results.
But I need these words in random order each time. How can I shuffle them?