As I indicated it is an array formula, so, it should be committed with Ctrl+Shift+Enter