title: Google Sheets - Randomize and freeze queried columns
body: <p>I'm trying to create a dynamic 'worksheet' in Google Sheets to help myself study Chinese.</p>
  <p>This is something I'm kind of figuring out as I go, but I'm currently trying to create a template for the basic 'worksheet' that will draw vocabulary from other pages in my document.</p>
  <p>Here's a copy of my current version: <a href="https://docs.google.com/spreadsheets/d/1U1hclOSo-SM2JuxJB6LXPB4J0UzXt6xJ1B_54ehkALs/edit?usp=sharing" rel="nofollow noreferrer">https://docs.google.com/spreadsheets/d/1U1hclOSo-SM2JuxJB6LXPB4J0UzXt6xJ1B_54ehkALs/edit?usp=sharing</a></p>
  <p>Sheet1 is where I'm currently struggling. The idea behind Column A was that I could create 'switches' to keep the page from updating (Freeze) while I'm actually using the worksheet for studying. Once I've finished and checked my work, I could switch back to (Update) so that the Query will re-run and update to include any new words, etc.</p>
  <p>Thus, E2 <code>=if(A2=&quot;Update&quot;,1,0)</code> is the condition I'm trying to check. 1 in this case would be letting the page update. 0 would be the only other value (Freeze), which would ideally stop the sheet from updating.</p>
  <p>Another problem I've run into is that I wanted to use the 'Randomize Range' feature from the right-click menu on the output of my Query, but that doesn't seem to work. I wanted to be able to shuffle the terms so that I am not accidentally memorizing the order rather than the actual information I'm trying to learn.</p>
  <p>I don't know which is more efficient: Having the Query grab the definition along with the word and add those to a hidden column, or have a column that matches the word to its definition outside of the Query.</p>
  <p>If I could add in another layer of complexity, it would be neat if I could have my worksheet randomly choose between column A and column D (maybe E, too) on my Vocabulary Bank pages so that sometimes it would show me the English term and other times it would show me the Chinese one. (Currently, I'm planning to just have one worksheet for English to Chinese and a second for Chinese to English.)</p>
  <p>In the end, I'd like for Sheet1 to work like this:</p>
  <p><strong>Column A:</strong> Switches</p>
  <p><strong>Column B:</strong> Terms, grabbed from <code>'Vocabulary Bank - [etc.]'!A3:A</code> [etc.] being all of the different banks. These are randomly reordered and 'frozen' until the Range switch is changed to 'Update'.</p>
  <p><strong>Column C:</strong> Hidden, containing the translations of the corresponding words. These update according to a switch.</p>
  <p><strong>Column D:</strong> This is where I enter my guesses at the translations. There is a switch to enable 'grading' where answers that don't match Column C are highlighted.</p>
  <p>Any help would be appreciated. Thanks!</p>