Lists

Difference between AND vs OR list criteria

Last updated: November 19, 2018

Applies to:

Marketing Hub
marketing-basic-pro-enterprise
Professional, Enterprise
Legacy Marketing Hub Basic

When creating your lists, you have two types of logic for multiple criteria: AND and OR.

  • Using the AND logic means contacts will need to meet all criteria within that set.
  • Using the OR logic means contacts will need to meet at least one criteria or the other criteria.

Using AND logic in a list

  • In your HubSpot account, navigate to Contacts > Lists.
  • In the upper right, click Create list.
  • Select your first criterion. In the example below, the first criterion is Contact property > State/Region is equal to Massachusetts.
  • Continuing the example, to identify contacts that are from the state of Massachusetts AND from the city of Boston, AND logic will be used. Click AND, then add an additional criteria of Contact property > City is equal to Boston.

Please note: if you are using deal properties or activity properties filters, the larger of the two AND buttons allows you to segment your contacts by two or more deal or activity properties that are true about any deals or activities the contacts in the list are associated with. The smaller of the two AND buttons segments your contacts by two or more deal properties or activity properties that are true for the same deal or activity. 

and-criteria-in-lists

Using OR logic in a list

  • In the example below, to identify contacts that are from the state of Massachusetts OR from the city of Boston, OR logic will be used instead. Click OR, then add an additional criteria of Contact property > City is equal to Boston.
User-added image
  • To see if a specific contact meets your selected criteria, on the upper right, click the Actions dropdown menu and select Test a contact.
  • If you have more than one OR criteria, some contacts may happen to meet multiple OR logic criteria and still be members of the list. Using the OR logic does not require contacts to only meet one criteria or the other; it simply means they must meet at least one or the other.