Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Formula help to match partial email addresses to persona

Topic Labels: Formulas
Solved
Jump to Solution
701 3
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi. I’m new to airtable, and fairly new to formulas. I’m trying to build a formula that looks at the part of an email domain and based on if a specific word exists or not, enter the persona into another field.

Example
Fields are EMAIL and PERSONA
If the EMAIL domain is @usa.company.com and I’m checking if the domain contains “company” I then want to have the PERSONA be “employee”. If it does not contain “company” I want the PERSONA to be “customer”

So far this is what I have IF((FIND(“company”,{Email Domain}) >=1)“Employee”, “Customer”)

1 Solution

Accepted Solutions

You were close:

IF( FIND("company",{Email Domain}) > 0, "Employee","Customer")

See Solution in Thread

3 Replies 3

You were close:

IF( FIND("company",{Email Domain}) > 0, "Employee","Customer")

Thank you! You solved my problem. Life is good :slightly_smiling_face:

Realized I had a typo. Make sure you’re doing > not >=