Hello, I can't find a solution. I am trying to look through each value down a column, and compare the value to all other rows, in the same column, except to the one where it was found. If the value is not found on the compared row, take the original value in the column and swap it with the value located in the compared row.
The reason I am trying to do this, is to try and eliminate as many duplicates as possible within a row but keep the same values within the column. Not sure if there is an easier way to accomplish the same outcome. I also need to exclude (not move) some values, like: x, UFO, TRAIN, QUE, AL, SS, REV
Another example: The values are actually located between columns F and S and rows 30:112.
The value of F30 is "Test13" and it is not in row 37. So I would want to swap "Test15" for "Test13", however, "Test15" is already present in row 30 so, I want to skip that swap.
I don't want to swap X values, nor AL values so, I am skipping F31 and F32.
F35 value is "Test15". Row 33 does not contain "Test15" and Row 35 does not contain "Test13" so I would then want to switch those two values. Continue down all columns and rows trying to eliminate as many duplicates as possible within the row. If I keep going down the list the next swap would be H30 with H37 (Test14 with Test17).
Thanks in advance for any help.
https://drive.google.com/open?id=1JxU9m0mUM0hX-Um1DVqN_cgbuuMUdDA-
The reason I am trying to do this, is to try and eliminate as many duplicates as possible within a row but keep the same values within the column. Not sure if there is an easier way to accomplish the same outcome. I also need to exclude (not move) some values, like: x, UFO, TRAIN, QUE, AL, SS, REV
Another example: The values are actually located between columns F and S and rows 30:112.
The value of F30 is "Test13" and it is not in row 37. So I would want to swap "Test15" for "Test13", however, "Test15" is already present in row 30 so, I want to skip that swap.
I don't want to swap X values, nor AL values so, I am skipping F31 and F32.
F35 value is "Test15". Row 33 does not contain "Test15" and Row 35 does not contain "Test13" so I would then want to switch those two values. Continue down all columns and rows trying to eliminate as many duplicates as possible within the row. If I keep going down the list the next swap would be H30 with H37 (Test14 with Test17).
Thanks in advance for any help.