Dear users of smath forum, I want to ask question.
How to choose value from second row of "table" by coincidence value "a" with value of first row of "table". It should be something like "vlookup" in excel.
See below example what I've done, but it do not work.
I guess you have to handle in a better way the range bounds (and there's no needs of nesting loops). In your example the last iteration fails because you call for the cols(table)+1 column of the matrix.