Oh man - this is twisting my head...
I'll try to fix the bug myself.
Plus, I will now do the INDEX formula, it is very, very complicated.
Tell me how to do it:
For example, the formula =INDEX((A2:D3, A5:D7), 3, 4, 2) returns the value of cell D7, which is at the intersection of the 3rd row and 4th column in the second area (A5:D7). See picture 1
How to get a collection of these values in code: (A2:D3, A5:D7):
val[0]=A2:D3;
val[1]=A5:D7;
Do I need to write an additional parser or is there a ready-made parser?
I'll try to add the INDEX formula myself. But I will most likely need help.