刚开使用写公式出现错误,后面突然发现是自己写错了总结下:
sheet.cell[cl_end]="=SUM({0}:{1})".format(cl_start,cl_end) #公式表达式
TypeError: 'method' object does not support item assignment
应该写成
sheet[cl_end]="=SUM({0}:{1})".format(cl_start,cl_end)
现在之了解用H1这种下表的公式写法,写成行列数字不知道怎么写?但我是感觉还是数字row和column比较方便,有了解的请回复下谢谢!