Removing duplicate addresses with unique person names

徘徊边缘 提交于 2019-12-23 05:24:14

问题


I have duplicate addresses with different names in each row of Excel. I have about 17,000 entries that I need to clean up. Here is an example:

    Name        Address             City                    Zip
-----------------------------------------------------------------
1   Al a Moe    7009 Plainfield     Dearborn Heights MI     48127
2   Al a Adel   7009 Plainfield     Dearborn Heights MI     48127
3   Al a Amy    7009 Plainfield     Dearborn Heights MI     48127
4   Al a Ashly  7009 Plainfield     Dearborn Heights MI     48127

How do I delete the rows with the duplicate addresses, without mixing up the database of names and addresses and only keeping one address per name?

I need a formula that can fix it to only one row with one address and one name

Thanks.


回答1:


String together the address components in a 'helper column' (Address&City&Zip) then apply Remove Duplicates to that column (only). Apply Remove Duplicates to the Name column only and delete the helper column.



来源:https://stackoverflow.com/questions/22203857/removing-duplicate-addresses-with-unique-person-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!