Hello
I am trying to select an individual cell based on condition and insert it to a column in JSL.
For example:
I have this following table - I want to insert to the first row under column "value" the "score" value of the second row (11) because:
when looking on the first and second row:
home = home and y=y and x=x+1
Input:
| score | home | y | x | value |
| 10 | US | 1 | 1 | |
| 11 | US | 1 | 2 | |
| 10 | Canada | 1 | 1 | |
| 10 | US | 3 | 5 | |
Expected:
| score | home | y | x | value |
| 10 | US | 1 | 1 | 11 |
| 11 | US | 1 | 2 | |
| 12 | Canada | 1 | 1 | |
| 13 | US | 3 | 5 | |
Thanks