I think you were pretty close. Try for instance:
As you declare you are using version 2019 it could require not just Enter but Ctrl+Shift+Enter to commit array formula*
See the attached file and try to edit formula.
HAve a look also on other formulas
PS. TOCOL will probably not work because it's Excel 2019 (I think TOCOL is only available in Excel 365 and web version)
---- out of our canned replies set ----
**Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
Bookmarks