title: Google Sheets run script when cell has one of two defined text values
body: <p>In Google Sheets run the "CopyImages" script when cell E252 has either "V" or "mV" selected.</p>
  
  <p>The code below works for "mV", but cannot get the other choice of "V" to work.</p>
  
  <pre class="lang-js prettyprint-override"><code>function onEdit(e) {
    if(e.range.getA1Notation() !== 'E252' || e.value !== 'mV') return;
    CopyImages();
  }
  
  function onEdit(e) {
    if(e.range.getA1Notation() !== 'E252' || e.value !== 'V') return;
    CopyImages();
  }
  
  function onEdit(e) {
    if(e.range.getA1Notation() !== 'E252' || e.value !== 'mV') return;
    CopyImages();
  }
  </code></pre>