Skip to main content
Copy a recipe, paste it into the Ζ’x box, and change the values to match your data. Recipes are grouped by where you use them: the Filters section of a list or the Columns section. Each one shows a before and after so you can check it against a real record. New to formulas? Start with What formulas are and when to use one. Every recipe in the first two sections uses standard person and company fields, so it works in any account. The Salesforce and date recipes use placeholder field names. Replace them with names from your own Data Shape page. See How formulas find your data. In every table, the quotes around text show where it starts and ends. The quotes are not part of the value. Rows marked β€œsame formula” use the formula from the row above.

Filter recipes

Paste these into Filters. Each gives back true or false. Every one starts with an exists() check, so records with a blank field leave the list. See Handle blank and messy values in formulas for why.

Keep only work email addresses

Leaves out people whose email is on a free provider. Add or remove domains to suit you.

Keep senior titles

Matches any title that contains one of the words, in any capitalization.
Words match anywhere in the title, so 'vp' also matches a title with those letters inside a longer word. Check your results on a few real records.

Leave out interns and students

Keep companies in a size band

Find records missing key details

Keeps people who lack at least one of the three.

Keep people in one of several lifecycle stages

Keep people who have not unsubscribed

A person with no consent value passes != 'unsubscribed', because no value is not equal to that text. If you want only people with a known consent, add exists($person.consent) && at the start.

Match an email ending

Use this for a school or country domain.

Column recipes

Paste these into Columns. Each gives back a value for every row. Most return no value for a blank field, so the cell stays empty instead of showing 0 or the word null.

Show a full name, even when a piece is missing

Show initials

Fix a name typed in odd capitalization

Show the email domain

Clean up a phone number

Removes dashes, spaces, and parentheses.

Shorten a long title

Label seniority

Show city and state together

Fill a blank with a label

Show revenue in millions

Bucket revenue into bands

Salesforce recipes

Records that arrive from Salesforce carry the field names Salesforce uses, under a record type such as sfdc_lead or sfdc_contact. The names below are examples. Check yours on Data Shape, and replace the record type and field names in each formula.

Filters

Here is how the first one works out. The last filter compares two fields on the same person, which a built-in filter cannot do. The person must have both a lead and a contact record.

Columns

Date recipes

Formulas have no clock, so you cannot ask for β€œthe last 30 days.” You can compare a date field to a fixed date, as long as the field is stored as year-month-day text. A value with a time on it sorts after the same date without one, so use the next day as the cutoff. To show only the date or the year in a column, cut the text: If a recipe gives an answer you cannot explain, contact allGood support. Include the formula, one record where the result is wrong, and the result you expected.