title: Change cell value on button click to column value based on a criteria
body: <p>I would like to change the value in cell G2 by clicking on a button (D3). The (A-column) values that are being looped through should meet the criteria "yes" in the column B.</p>
  
  <p><a href="https://i.stack.imgur.com/jgYhF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jgYhF.png" alt="s"></a></p>