# Searching Contacts by two conditions

**URL:** <https://forum.mautic.org/t/searching-contacts-by-two-conditions/11506>\
**Category:** Product Support\
**Created:** [October 28, 2019, 7:51pm UTC](https://forum.mautic.org/t/searching-contacts-by-two-conditions/11506 "2019-10-28T19:51:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathancyoung](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nathancyoung/32/441_2.png) [@nathancyoung](https://forum.mautic.org/u/nathancyoung)\
**Post date:** [October 28, 2019, 7:51pm UTC](https://forum.mautic.org/t/searching-contacts-by-two-conditions/11506/1 "2019-10-28T19:51:40Z")

</div>

I’m trying to figure out how to search for contacts by more than one condition. I’ve followed the instructions in the"?" pop up to the best of my abilities, but it doesn’t seem to be working.

If I want to list contacts that are in one segment but NOT in another segment, how do I do that?

Thanks!

---

<div class="post-metadata">

**Author:** ![MxyzptlkFishStix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mxyzptlkfishstix/32/1132_2.png) [@MxyzptlkFishStix](https://forum.mautic.org/u/MxyzptlkFishStix)\
**Post date:** [October 29, 2019, 8:39am UTC](https://forum.mautic.org/t/searching-contacts-by-two-conditions/11506/2 "2019-10-29T08:39:26Z")

</div>

`common:segment-a !common:segment-b`

If this problem is solved, edit your title.

Example: change from `Searching Contacts by two conditions` to `[Solved] Searching Contacts by two conditions`

---

<div class="post-metadata">

**Author:** ![nathancyoung](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nathancyoung/32/441_2.png) [@nathancyoung](https://forum.mautic.org/u/nathancyoung)\
**Post date:** [October 29, 2019, 3:32pm UTC](https://forum.mautic.org/t/searching-contacts-by-two-conditions/11506/3 "2019-10-29T15:32:53Z")

</div>

> [@MxyzptlkFishStix](#):
>
> common:segment-a !common:segment-b

Thanks! That helped!

What if I wanted to do more complicated queries though? Like, in segment-a, without tag-b, added after date-c?

On this page there is a link to a “search documentation” but that link is now dead. Is the information elsewhere?

> **[Manage contacts](https://docs.mautic.org/en/contacts/manage-contacts)**
>
> . The manage contacts page is the main interface through which you can view and interact with your contacts both visitors and standard contacts.Segments. The segment is the default tabular view of all the contacts in the system - by default the list...

" The search box allows many different search types and follows the same search process and variables as found in all other search layouts. You can learn more about the powerful search options available on the [search documentation page](https://www.mautic.org/docs/en/contacts/search/README.md)."

---

<div class="post-metadata">

**Author:** ![ascholten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ascholten/32/691_2.png) [@ascholten](https://forum.mautic.org/u/ascholten)\
**Post date:** [October 29, 2019, 4:16pm UTC](https://forum.mautic.org/t/searching-contacts-by-two-conditions/11506/4 "2019-10-29T16:16:14Z")

</div>

Have you considered creating a report?

---

<div class="post-metadata">

**Author:** ![nathancyoung](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nathancyoung/32/441_2.png) [@nathancyoung](https://forum.mautic.org/u/nathancyoung)\
**Post date:** [October 29, 2019, 4:53pm UTC](https://forum.mautic.org/t/searching-contacts-by-two-conditions/11506/5 "2019-10-29T16:53:57Z")

</div>

I hadn’t! I wasn’t aware that that was an option. Would this just be the same report functionality from the bottom of the menu on the right? Would I be able to pull a list of contacts to add to a segment or campaign from there?
