title: pythonic for loop to write excel formulas with different variables
body: <p>Sorry for the unclear title - I wasn't sure how to best word this.</p>
  
  <p>I have a bit of code which is going to populate a new column in my dataframe and subsequently Excel. I'm attempting to add two cells in the same row (columns E, F) but also the rightmost (column H) cell from the previous row and I don't think I've structured my code efficiently or correctly. </p>
  
  <p><code>len_newf</code> is the length of the dataframe, <code>newf</code>, but has been changed to a random integer for ease of reproduction.</p>
  
  <p>Current working code is: </p>
  
  <pre><code>len_newf = 8
  lform = []
  
  x = 0
  y = 1
  z = 1
  
  for i, j, k in zip(range(x, len_newf+2), range(y, len_newf+2),range(z,len_newf+2)):
  
      formula = '=(H{0}+E{1}+F{1})'.format(i,j,k)
      lform.append(formula)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>['=(H0+E1+F1)', '=(H1+E2+F2)', '=(H2+E3+F3)', '=(H3+E4+F4)', '=(H4+E5+F5)', '=(H5+E6+F6)', '=(H6+E7+F7)', '=(H7+E8+F8)', '=(H8+E9+F9)']
  </code></pre>
  
  <p>Thanks for any help in advance.</p>