Hi,
I want to copy the value of a certain column to a new column depending on a value in that row. E. g. a table looks like this:
col2 col3 col4 col5 selector appendedCol
1 2 3 4 2 2
5 3 4 1 1 5
1 2 3 4 4 4
1 2 3 4 6 0
Note that the appededCol shall be 0 if the selector is too great. The number of col(x) may also vary, but if things are unsolvable we could assume it is fix. I played around with “Column List Loop Start” but there is no index. A not convenient solution may be to concatenate 4 Math Formula filters which looks like this:
$$CURRENT_COLUMN$$ * (x == $selector$) and fix the x to 1, 2, 3, 4 respectively. Saying this I have at least 24 columns to select from and this could be a cumbersome work. Any better ideas?