| Column1 | Column2 | Column 3 | Column 4 |
| XYZ | 1 | XYZ1234 | 01 |
| ABC | 2 | ABC4322 | 04 |
| MNO | 3 | MNO2341 | 06 |
Consider a sample data,
Here, i want to compare column3 & column4 with Column1 & column2
For Eg,
number in column 2 should match with number with column 4 condition is that string in column1 should match with first 3 letter in Column3.
If ABC = 2 then ABC4322 should be equal to 2 (not 4) considering the relation with ABC = 2.
Please suggest some solutions