Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Will be exposed in a new work sheet
There is no bug.
You are calculating L incorrectly. It should be length(Y).