I want to compare two columns and say whether they are equal or not.
There are 100 data in first column and 80 data in second column. Out of 100, 80 data match with the second column.
If second column data is not matching with first column insert blank cell/0 at second column. Then take same second column data and check it with first column next data.
For example:
C1 C2
1 1
2 2
3 4
4 5
5
In the above example, 1st two rows matches. Then while comparing 3rd row C1 with C2, there is no match. So insert blank cell or 0 at 3rd row C2, and move 3rd row C2 value 4 to next row C2. Then compare 4th row c1 and c2.
Final result
c1 c2
1 1
2 2
3 0
4 4
5 5