deleting same rows in two columns

osmanoca

Board Regular
Joined
Apr 16, 2016
Messages
87
hello dear mrexcel lovers.

i have two columns data (A-B)

there some same data in same rows of two column like below:

A B
book book
lesson learn
pencil school
school school
book reading
lesson lesson


i want to delete same rows in A nd B . result must be like below:
lesson learn
pencil school
book reading


please help.

thanks very much
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
In column C, enter formula:
Code:
=--(A1=B1)
Drag the formula to the last row
Filter for values of 1
Delete those rows
Remove filter and delete column C

Test on a copy of your data if unsure
 
Upvote 0
Thank you very much dear JackDanIce . it solved.

thanks , god also helps you in your life...


In column C, enter formula:
Code:
=--(A1=B1)
Drag the formula to the last row
Filter for values of 1
Delete those rows
Remove filter and delete column C

Test on a copy of your data if unsure
 
Upvote 0

Forum statistics

Threads
1,215,766
Messages
6,126,763
Members
449,336
Latest member
p17tootie

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