title: how to sum multiple calculations with one string
body: <p><a href="https://i.stack.imgur.com/NWl7t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NWl7t.png" alt="enter image description here"></a></p>
  
  <p>I would need some universal string of commands, so I could insert it in cells A4, C4, D4, E4 and get those desired numbers across all the other similar cells like these.</p>
  
  <p>So far I tried stuff like: <code>=IF(A1 = A2; SUM(A1 * A2); "1")</code> but still not close with that.</p>