# OR condition between properties

**URL:** <https://community.hubspot.com/t/or-condition-between-properties/2170>\
**Category:** HubSpot Ideas\
**Tags:** object\
**Created:** [May 26, 2017, 7:29pm UTC](https://community.hubspot.com/t/or-condition-between-properties/2170 "2017-05-26T19:29:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scinquegrani](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/scinquegrani/32/58551_2.png) [@scinquegrani](https://community.hubspot.com/u/scinquegrani)\
**Post date:** [May 26, 2017, 7:29pm UTC](https://community.hubspot.com/t/or-condition-between-properties/2170/1 "2017-05-26T19:29:51Z")

</div>

I would like to be able to create a view (Company and Contact) on the Sales (CRM) side of Hubspot that satisfies an ‘OR’ condition. Currently the filters only support an ‘AND’ condition between properties.

---

<div class="post-metadata">

**Author:** ![roisinkirby](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@roisinkirby](https://community.hubspot.com/u/roisinkirby)\
**Post date:** [May 29, 2017, 1:24pm UTC](https://community.hubspot.com/t/or-condition-between-properties/2170/2 "2017-05-29T13:24:42Z")

</div>

Hey @scinquegrani could you be more specific?

You can use an OR operator to search for multiple types of results in a given property. For instance, if you are looking for contacts in your database that are located in Boston or New York, you can enter your search so that City / contains / “Boston” OR “New York”:

 ![refresh-filter-or-operator.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/63c2656d150889d7ca53f34f7b790bdc730108d7.png)

**Please note** that the **OR** operator must be in all capital letters. You can also combine an **OR** operator search with a wildcard search using the [\* search function](https://knowledge.hubspot.com/articles/kcs_article/contacts/how-can-i-create-a-filter-in-the-crm-that-contains-a-unique-string) . For instance, if you want to filter freemail addresses, you can build a filter that looks like this:

 ![refresh-filter-or-operator-and-wildcard.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/b/6bff3a18fea98f9fb65deb1b8f263d7fa398a97b.png)

If what you are request aboving is not related to the CRM contact / company views tool, then could you clarify where you wish to use the AND/OR criteria?

---

<div class="post-metadata">

**Author:** ![ashuttleworth](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ashuttleworth/32/26012_2.png) [@ashuttleworth](https://community.hubspot.com/u/ashuttleworth)\
**Post date:** [March 17, 2019, 10:44am UTC](https://community.hubspot.com/t/or-condition-between-properties/2170/3 "2019-03-17T10:44:08Z")

</div>

The original requester said ‘between properties’ so I don’t think the solution above addresses the need. There is [another thread here](https://community.hubspot.com/t5/HubSpot-Ideas/OR-Filters-for-Reports/idi-p/220883) with a similar request;
