Compare 2 columns delete the row if match found

pateln1594

New Member
Joined
Jul 31, 2018
Messages
6
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1111[/TD]
[TD]1[/TD]
[TD]4444[/TD]
[TD]2222[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2222[/TD]
[TD]0[/TD]
[TD][/TD]
[TD]3333[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]3333[/TD]
[TD]0[/TD]
[TD]1111[/TD]
[TD]5555[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4444[/TD]
[TD]1[/TD]
[TD]6666[/TD]
[TD]7777[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]5555[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]8888[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]6666[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]1010[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]7777[/TD]
[TD]0[/TD]
[TD]9999[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]8888[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]9999[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]1010[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I am trying to compare Column A and Column C and if the number in Column C is found in Column A then delete the entire row. And results are in column D and E. Please help I can't use excel VBA I am trying to create a formula to do this.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
In column F, insert the formula =if($A1=$C1,"x","") drag the formula to the last row with data using the plus handle at bottom right corner of cell. Filter the column for x and delete them.
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,595
Members
452,657
Latest member
giadungthienduyen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top