Hi XOR LX
thanks for your response; your detailed exposition of solving the problem was like music to my ears. I'd seen some references to using mode.mult to get an array of numeric values to index but been unable to follow them and your article was so crystal clear so many many thanks.
For others interested, my need was to omit non-numerics on the y value. Here's my solution using XOR LIs download on the problem of criteria with LINEST and other statistical functions
Firstly, I inserted a new column B2:B11 with x values {12,49,70,29,10,96,9,36,34,39}
Cell J3 (ignoring non-numerics):
=LINEST(INDEX(C:C,N(IF(1,MODE.MULT(IF(ISNUMBER(C2:C11)=TRUE,{1,1}*ROW(C2:C11)))))))
Cell K3:L3 ignoring x and y values with no corresponding y (ensuring x,y's are paired)
=LINEST(INDEX(C:C,N(IF(1,MODE.MULT(IF(ISNUMBER(C2:C11)=TRUE,{1,1}*ROW(C2:C11)))))),INDEX(B:B,N(IF(1,MODE.MULT(IF(ISNUMBER(C2:C11)=TRUE,{1,1}*ROW(B2:B11)))))))
Note if were possible to get a y with no x it will fail.
Capture.PNG
Bookmarks