title: How to fill cell using if else with cell color as the basis
body: <p>One final obstacle on my project is the IF condition based on cell color fill.</p>
  <p>(Note: I tried searching for an answer but the only one that fits my scenario is too advanced and lacked the basic instruction that will help me apply it on my own).</p>
  <p>For a quick insight into what I'm trying to do, here's a screenshot:</p>
  <p><a href="https://i.stack.imgur.com/VOZUS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VOZUS.png" alt="enter image description here" /></a></p>
  <p><strong>What I'm hoping to achieve is:</strong></p>
  <p>if <code>E4</code> has a <code>yellow color fill</code>, then fill <code>G4</code> with &quot;haha&quot;</p>
  <p>else, fill it with &quot;hehe&quot;</p>
  <p>The screenshot sample currently have no formula in column G, just the sample of what I want to achieve. How can I finish this?</p>