Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/276.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
[Python][OpenPyXL]无法在Excel中使用SUMIF公式_Python_Openpyxl_Formulas - Fatal编程技术网

[Python][OpenPyXL]无法在Excel中使用SUMIF公式

[Python][OpenPyXL]无法在Excel中使用SUMIF公式,python,openpyxl,formulas,Python,Openpyxl,Formulas,我有非常简单的Python代码。我需要使用EXCEL公式sumif并将结果放入单元格 工作原理: bus_tab.cell(column=3, row=1, value="=SUM(C8:C200)") 但这不是吗?我需要使用“sumif”公式 打开文档时出现错误的链接:参数必须用逗号分隔。看 bus_tab.cell(column=3, row=1, value="=SUMIF(E8:E200; 1; C8:C200)")

我有非常简单的Python代码。我需要使用EXCEL公式sumif并将结果放入单元格

工作原理:

bus_tab.cell(column=3, row=1, value="=SUM(C8:C200)")
但这不是吗?我需要使用“sumif”公式


打开文档时出现错误的链接:

参数必须用逗号分隔。看

bus_tab.cell(column=3, row=1, value="=SUMIF(E8:E200; 1; C8:C200)")