You should reset your Android device and erase all of your personal data before you sell it, trade it in, or give it away.
You can remove duplicates in Excel in a few steps. Duplicates can create problems when you're dealing with data.