It's an array formula, just as your original was. You must press CTRL+SHIFT+ENTER after pasting or editing in the formula bar to confirm. You should see curly brackets {} embrace the text, signifying successful array entry. Then copy down; you'll get the correct output.
Bookmarks