Answers.Body: <p>You can use Search Builder (Search > Search Builder) to search for contacts in a group A and add another search field for contacts in Group B. See screenshot from <a href="http://d46.demo.civicrm.org/civicrm/contact/search/builder?reset=1" rel="noreferrer">demo</a>.</p>
  
  <p><a href="https://i.sstatic.net/TEknH.png" rel="noreferrer"><img src="https://i.sstatic.net/TEknH.png" alt="2Groups Screenshot"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-18T21:46:11.360Z
Answers.Text: Would highly recommend using the "IN" operator instead of "=".
Answers.UserDisplayName: dsmith63
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-06T19:49:05.213Z
Answers.LastActivityDate: 2015-12-06T19:49:05.213Z
Answers.UserDisplayName: Sanjay Jain
Answers.Body: <p>Under Search > Custom Search there is a search called Include / Exclude Search which is specifically for this purpose ie including/excluding specific Tags and Groups. You can see it here on the <a href="http://d46.demo.civicrm.org/civicrm/contact/search/custom?csid=4&amp;reset=1" rel="nofollow">demo site</a>.</p>
  
  <p>I don't know if it delivers what you need but worth knowing about.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-06T20:35:09.297Z
Answers.LastActivityDate: 2015-12-06T20:35:09.297Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>It seems like there must be a way to search for (and hopefully perform group operations on)contacts that are in both Group A AND Group B but I can't find it.  Suggestions?</p>
  
Tags: <groups>
Title: Finding contacts in Group A AND Group B?
ThreadText: # Finding contacts in Group A AND Group B?
  
  (Asked by: username_0 on 2015-12-06)
  
  It seems like there must be a way to search for (and hopefully perform group operations on)contacts that are in both Group A AND Group B but I can't find it. Suggestions?
  
  **Tags:** groups
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-12-06. Score: 12
  
  You can use Search Builder (Search > Search Builder) to search for contacts in a group A and add another search field for contacts in Group B. See screenshot from [demo](http://d46.demo.civicrm.org/civicrm/contact/search/builder?reset=1).
  
  [![2Groups Screenshot](https://i.sstatic.net/TEknH.png)](https://i.sstatic.net/TEknH.png)
  
  > **Comments:**
  > **username_2**: Would highly recommend using the "IN" operator instead of "=".  
  
  ---
  
  ### Answer by username_3 on 2015-12-06. Score: 3
  
  Under Search > Custom Search there is a search called Include / Exclude Search which is specifically for this purpose ie including/excluding specific Tags and Groups. You can see it here on the [demo site](http://d46.demo.civicrm.org/civicrm/contact/search/custom?csid=4&reset=1).
  
  I don't know if it delivers what you need but worth knowing about.
  
  
  ---
  
  