Have a lok on such code:
Usage:
Select enough or more cells than needed for output (for instance F2:F10 - see what happens when too few are selected - orange cells)
With these few cells selected (not just one) write formula
and commit as array formula - confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
Bookmarks