How to insert array formula in an Excel sheet with openpyxl?
问题 I'm using OpenPyxl to create and modify an Excel sheet. I have the following formula in Excel : =(SUM(IF(LEFT(Balances!$B$2:$B$100,LEN($B4))=$B4,Balances!$D$2:$D$100))) This formula which is an "array formula" is working but in order to write it by hand, I have to finish with CTRL+SHIFT+ENTER (because it's an array formula). This transform then the formula as follow : {=(SUM(IF(LEFT(Balances!$B$2:$B$100,LEN($B4))=$B4,Balances!$D$2:$D$100)))} I want to be able to write this formula via