Hi,
I have a question regarding the save operation of WorkBook. It seems that if openpyxl saves worksheet having array fomular, it saves in a way that excel handling it in another way.
Here is the sample code for openpyxl 3.1.2:
And the file for testing and file for result are as below:
openpyxl_save.xlsx openpyxl_save_result.xlsx
The formula of cell C1 in openpyxl_save_result.xlsx is shown as "{=A1:A10^3}" while it was shown in openpyxl_save.xlsx as "=A1:A10^3" by Excel on Mac.
I checked the underlying xml, openpyxl does not add the {} to array formulae, but why Excel show them differently? The problem I meet is a formula in normal format "=FILTER(xxxxx)" does not work anymore after save because it is changed to "{=FILTER(xxxx)}".
Any hints are highly appreciated!
Regards