Skip to main content
CRMSalesforce CRM

Salesforce Lookup fields with a Filter

By February 23, 2023No Comments

When creating Salesforce lookup fields you are essentially relating the field to another object (e.g, table) for its values.  They can be used to lookup a value on related lists, be useful for relating objects for custom report types, or create a relationship for tracking to name a few.

How Do I Set Up Salesforce Lookup Fields with Filters?

Salesforce lookup fields can use filters to drill down on specific data to display in the picklist or they can be based on the value of another field, or a combination of both.

Using another field’s value to determine another field’s choices can be helpful.  The best example of this is the Related To and Name fields on many Salesforce pages.  Once you choose an Account in the Related to value, the Name lookup will only accept Contacts related to that Account (in most organizations).  The same principle can be applied to other lookup relationships such as from Orders to Products or Opportunities to Orders.

For this example we will expand on the Partner Look Up field on the Account object to assign the Technology Partner Account for the client.  Now we not only want to relate the Partner company but we also want to relate the representative working with client.

  1. Click on SetUp (Gear Icon) and then click on the Object Manager
  2. Click on the object you will be adding the Look Up field to. For this example we are using the Account object.
  3. Select Fields & Relationships and thenNew
  4. Select Lookup Relationship from the Data Type list and click Next.
  5. Select Account from the Related To dropdown and click Next.
  6. Enter the following:
    1. Field Label – Technology Partner
    2. Field Name will auto populate
    3. Add a Description and/or Help Text is desired
    4. Leave the Child Relationship Name as is
  7. Click Show Filter Settings in the Lookup Filter Section.

  1. Click in the field box and choose Current Lookup and find the name of the lookup field and the field to filter on.

  1. Choose equals for the operator and Value for the Value/Field.
  2. Depending on the type of field you are filtering on, a picklist may be used to select the value or type the value.
    1. Click on the Search icon and choose Technology Partner from the picklist values.
  3. Choose if the field will require a value.
  4. Check Active to enable the filter.  Click Next.

  1. Choose who will see the new field and do not make it read only. Click Next.
  2. Choose which Account Layouts will display this field. Click Next.
  3. Choose which Vendor Account Layouts will display this field. Click Save.

Navigate to the page you added the field to and test it.

Please contact us at for any Salesforce questions or support you need.  Feel free to comment below. We’d love to hear your thoughts!

Dena Falek

Author Dena Falek

More posts by Dena Falek

Leave a Reply

5 Great Alternatives to

Free Whitepaper Download

Learn more about 5 options that are better CRMs for small business


Skip to content