How to tag a contact when importing possible duplicates
The Import Contact function can also help you to do this. Select the option Update for duplicate contacts.


In the last step of the import wizard, you can add a group or a tag to the imported (or updated) records. In the case you do not want to overwrite existing database values, you can create an import file that contains only the fields that you use to match.