# Importing csv and change key to check for duplicate

**URL:** <https://forum.mautic.org/t/importing-csv-and-change-key-to-check-for-duplicate/3696>\
**Category:** General Discussion\
**Created:** [May 10, 2016, 4:33pm UTC](https://forum.mautic.org/t/importing-csv-and-change-key-to-check-for-duplicate/3696 "2016-05-10T16:33:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thaneor](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@thaneor](https://forum.mautic.org/u/thaneor)\
**Post date:** [May 10, 2016, 4:33pm UTC](https://forum.mautic.org/t/importing-csv-and-change-key-to-check-for-duplicate/3696/1 "2016-05-10T16:33:56Z")

</div>

Hi Mautic community,  
  
  
  
I have Mautic 1.3.1 and PHP Version 5.3.29  
  
  
  
I’m searching to import a list of customer in mautic but I would like to set the field customer\_number to be the unique identifier to check for duplicate entry.  
  
  
  
What I’ve done :  
  
  
  
configure “Is Unique Identifier” to Yes for my field customer\_number  
  
configure “Is Unique Identifier” to No for the email field  
  
  
  
When I try to import my csv file without importing an email field, I have duplicate records of my clients.  
  
  
  
Any help would be nice,  
  
  
  
Thank you

---

<div class="post-metadata">

**Author:** ![thaneor](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@thaneor](https://forum.mautic.org/u/thaneor)\
**Post date:** [May 10, 2016, 4:33pm UTC](https://forum.mautic.org/t/importing-csv-and-change-key-to-check-for-duplicate/3696/2 "2016-05-10T16:33:57Z")

</div>

Hi Mautic community,

I have Mautic 1.3.1 and PHP Version 5.3.29

I’m searching to import a list of customer in mautic but I would like to set the field customer\_number to be the unique identifier to check for duplicate entry.

What I’ve done :

configure “Is Unique Identifier” to Yes for my field customer\_number  
configure “Is Unique Identifier” to No for the email field

When I try to import my csv file without importing an email field, I have duplicate records of my clients.

Any help would be nice,

Thank you
