Answers.Body: <p>An alternative approach, esp if you have comma separated options for the Groups (ie all groups are in a single cell) would be to make a Custom Field with options that match your Group Names, import like that, then search for each option and via Actions 'add to group'.</p>
  
  <p>Or (as Pradeep suggests in comment below) Custom field of type text and then using Search builder perform Like %Group Name% for each option and via Actions 'add to group'</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-28T07:58:04.213Z
Answers.Text: Or Custom field of type text and then using Search builder perform Like %Group Name%  for each option and via Actions 'add to group'.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-28T10:52:31.797Z
Answers.Text: Good point. thx
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-28T11:53:58.990Z
Answers.Text: That’s what we do - importing custom fields then reconstructing the groups in CiviCRM post import
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-28T07:49:03.570Z
Answers.LastActivityDate: 2018-05-28T10:52:22.677Z
Answers.LastEditDate: 2018-05-28T10:52:22.677Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>The way I have done this is a variation on above and is quick, particularly if you have a separate column for each group. I also created a separate temporary custom field to ensure it didn't say there was nothing to import.</p>
  
  <p>For each group select the records in that group and save as a new CSV. Do an import, using fill and putting anything in the temporary field. Add these contacts to the group. Repeat for all groups.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-18T16:50:38.750Z
Answers.LastActivityDate: 2019-07-18T16:50:38.750Z
Answers.UserDisplayName: Mick Kahn
Answers.Body: <p>Did you had a look at the manual on importing data into CiviCRM? <a href="https://docs.civicrm.org/user/en/latest/common-workflows/importing-data-into-civicrm/" rel="nofollow noreferrer">https://docs.civicrm.org/user/en/latest/common-workflows/importing-data-into-civicrm/</a></p>
  
  <p>I am not sure whether importing of contacts in multiple groups works in CiviCRM. </p>
  
  <p>If it doesn't you could try to create different import files, one for each group because at the end of each import you could add the contacts to a specific group. During the import CiviCRM tries minimize the creation of duplicate contacts. </p>
  
  <p>So you get a file group1 with Fred and Joe. a file group2 with only Fred, and a file group3 with Joe. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-28T07:28:47.520Z
Answers.LastActivityDate: 2018-05-28T07:28:47.520Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>I am trying to work out how to import contacts into multiple groups.
  The list of contacts to import has some contacts listed in multiple groups.
  I've been unable to work out how. </p>
  
  <p>EG Fred Smith is in Group 1, 2 and 3.
  Joe Smith is in Group 1 and 2
  Mary Smith is only in Group 1.</p>
  
  <p>Any advice would be appreciated.</p>
  
  <p>Thanks
  Scott</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-28T10:50:38.977Z
Comments.Text: I have each group in a difference cell. I just expected to be able to select the header title and match to the group. I'll give the custom field option a try and report back.
Comments.UserDisplayName: funkyblue
Tags: <import><groups><data-import>
Title: Importing Contacts into multiple groups
ThreadText: # Importing Contacts into multiple groups
  
  (Asked by: username_0 on 2018-05-28)
  
  I am trying to work out how to import contacts into multiple groups.
  The list of contacts to import has some contacts listed in multiple groups.
  I've been unable to work out how.
  
  EG Fred Smith is in Group 1, 2 and 3.
  Joe Smith is in Group 1 and 2
  Mary Smith is only in Group 1.
  
  Any advice would be appreciated.
  
  Thanks
  Scott
  
  **Tags:** import, groups, data-import
  
  > **Comments:**
  > **username_0**: I have each group in a difference cell. I just expected to be able to select the header title and match to the group. I'll give the custom field option a try and report back.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2018-05-28. Score: 8
  
  An alternative approach, esp if you have comma separated options for the Groups (ie all groups are in a single cell) would be to make a Custom Field with options that match your Group Names, import like that, then search for each option and via Actions 'add to group'.
  
  Or (as Pradeep suggests in comment below) Custom field of type text and then using Search builder perform Like %Group Name% for each option and via Actions 'add to group'
  
  > **Comments:**
  > **username_2**: Or Custom field of type text and then using Search builder perform Like %Group Name%  for each option and via Actions 'add to group'.  
  > **username_1**: Good point. thx  
  > **username_3**: That’s what we do - importing custom fields then reconstructing the groups in CiviCRM post import  
  
  ---
  
  ### Answer by username_4 on 2019-07-18. Score: 2
  
  The way I have done this is a variation on above and is quick, particularly if you have a separate column for each group. I also created a separate temporary custom field to ensure it didn't say there was nothing to import.
  
  For each group select the records in that group and save as a new CSV. Do an import, using fill and putting anything in the temporary field. Add these contacts to the group. Repeat for all groups.
  
  
  ---
  
  ### Answer by username_5 on 2018-05-28. Score: 1
  
  Did you had a look at the manual on importing data into CiviCRM? <https://docs.civicrm.org/user/en/latest/common-workflows/importing-data-into-civicrm/>
  
  I am not sure whether importing of contacts in multiple groups works in CiviCRM.
  
  If it doesn't you could try to create different import files, one for each group because at the end of each import you could add the contacts to a specific group. During the import CiviCRM tries minimize the creation of duplicate contacts.
  
  So you get a file group1 with Fred and Joe. a file group2 with only Fred, and a file group3 with Joe.
  
  
  ---
  
  