I have an array of cells similar to this: [...
0
129
8 ... 2 ... 3 ... 4
6 ... 4
0
I just want to find and replace certain values, but I cannot use a regular function because the cells have different lengths. I need to replace many specific values ββat the same time and there is no general function on how the values ββare replaced. However, sometimes several input values ββmust be replaced by the same output.
so I want to say that for values ββ1: 129
'if 0, then 9'
'elseif 1 then 50'
'elseif 2 or 3 or 4, then 61', etc. up to 129
where these rules apply to the entire array.
I tried to figure it out myself, but still I get nothing. Please, help!
source share