Hello Firman,
It seems like the issue you're facing may be related to how Excel 2021 handles array formulas differently, including using curly brackets.
For the error you encountered, I suggest correctly entering array formulas (using Ctrl + Shift + Enter for array formulas in Excel 2019). If it's still an issue, resetting Excel settings or checking for file corruption might help.
Since you're transferring between versions, checking that compatibility mode is off might also resolve this.