When writing formulas into cells, I have come across the problem of "@" being inserted in front of the =FILTER() excel formula. The openpyxl documentation states some formulas need to be prefixed with "_xlfn.". So I went ahead and tried that but I'm still seeing issues with the =FILTER() excel formula in particular. I tested "_xlfn." with other formulas such as =CONCAT() and it works just fine. Is this because =FILTER() is an array formula? I have no idea how to diagnose, please help!!
my code: ws['E3'] = '=_xlfn.FILTER(D2:AA1000,A2:A1000=A3,"")'
excel formula result: =@FILTER(D2:AA1000,A2:A1000=A3,"")