Here, use this.
This is an UDF macro function and you can not use it in your workbook unless you copy code there.
Or copy your data into this workbook
that must be saved as .xlsm
It works this way:
Select range where you entering function: in this case M2:P6
Then enter it as any other function:
In this case it would look like:
And then confirm it by CTRL+SHIFT+ENTER (not just enter) so curely brackets {} appear around formula.
Those brackets can not be written in formula. They must appear after confirming formula as explained.
Bookmarks