This example will not work (+= in for loop), but it shows what I want to achieve:
import openpyxl
wb = openpyxl.Workbook()
sheet = wb.active
for a,b,c,d,e,f,g in sheet.iter_rows(min_col=1, max_col=7, min_row=2, max_row=8):
a.value += 1
b.value += 1
c.value += 2
d.value += 3
e.value += 4
f.value += 5
g.value += 6
wb.save("multi.xlsx")
My goal is to increase per iteration the value, based on the previous cell. So that the result for a.value is: 1,2,3,4,5,6, for d.value 3,6,9,12,15,18 and so on. What is the easiest way to achieve this?