Quote:
So, I need to remove any location that has the letter "X" and replace it with whatever is above.
|
What do you mean 'above'? I can't quite make out what your code is supposed to be doing.
In your example, row 13 goes from
[X, X, R, ...] -> [Y, R, R, ...]
Where are the Y and R coming from? The values literally above them (row 12) are X and Y, so that's obviously not what you meant.