Comparing values in two columns for duplicates
I have four columns of data which I need to compare. For example:
Slip No | Amount | Slip No | Amount | Duplicate |
---|---|---|---|---|
1 | 100 | 4 | 400 | Duplicate |
2 | 200 | 5 | 500 | |
3 | 300 | 6 | 600 | |
4 | 400 | 1 | 100 | Duplicate |
That is if BOTH Column 1 (Slip No) and Column 2 (Amount) together is repeated in Column 3 and Column 4, the last column should show - Duplicate.