Array constants can only contain text in double quotes, plain numbers (no currency symbols or percent signs), or Boolean ...
The best way to do this is by converting your data to an Excel table. Select your data range (A1:E11), press Ctrl + T, and click OK. Excel names it something like "Table1"; in my case, it's Table3, ...
The 2025 Ultimate Microsoft Excel Training Bundle helps you become a Microsoft Excel expert, and right now these 16 courses ...