title: Google Script SetFormula escaping quotes
body: <p>I cannot figure out the right combination of single and double quotes and \ to get this setFormula to work right.</p>
  
  <pre><code> SpreadsheetApp.getActiveSheet().getRange('F2').setFormula('=query(arrayformula(Master!A:K), "SELECT B, C, D, E, F, G, H, I, J, K where A = '"&amp; 'Select Your Event'!A3 &amp;"' Order By I, J",1)')
  </code></pre>