Basically I need a formula that deletes any row with a reoccurring number. For example

1 1 1 1
1 2 3 4
2 3 4 5
3 3 4 5

Would become
- - - - -
1 2 3 4
2 3 4 5
- - - - -

And no two rows can have more than one matching column in the same slot

1 2 3 4
1 2 4 3

Here the 1's are fine but the 2's match so the whole second line must be deleted

Thanks in advance for the help =]