Lists

What is the difference between 'and' versus 'or' within lists' rules?

Last updated: February 21, 2017

When creating lists comprised of a single rule or a set of rules, you have two options to formulate rules in order to populate the list with your desired contacts: they are And... and Or.... What is the difference?

And... will add another criteria within the same rule. In order for a contact to be pulled into the list, the contact needs to meet all the criteria set within the rule. For example, contacts whose Mailing State/Province is equal to Massachusetts AND Mailing City is equal to Boston will be pulled into the list.

User-added image
User-added image

Let's say you want the list to include contacts whose Mailing City is equal to Boston OR Company Name is equal to HubSpot. To do this, you'll want to add a separate rule to the list, by clicking on the Or... button.

User-added image
User-added image

You can use these two functions to formulate sets of rules within your list. Taking the previous examples one step further, let's assume you want to pull in contacts whose:

  • Mailing City is equal to Boston AND Mailing State/Province is equal to Massachusetts

OR

  • Company is equal to HubSpot AND Mailing Country is equal to United States
User-added image
User-added image

Related Articles: