Using Formula Fields to Group Data in Salesforce

A common ask I get in Salesforce is how to group data based on it’s characteristics – for example grouping random Industries into tighter categorizations or grouping people’s Job Titles into defined ‘Personas’. This makes it simpler to analyze and target your data – instead of dealing with disparate Industry or Job Title values users can now focus on cleanly grouped data. The solution to this problem is a formula field in Salesforce – I’ll walk through how to set up a formula field to return a ‘persona’ for a Contact based on it’s Job Title:

Let’s say you have a few predefined Job Titles that you want to group into ‘Personas’ for your outbound marketing efforts:

  • ‘Marketing Persona’ – anyone with the word ‘Marketing’ in their Job Title
  • ‘Sales Persona’ – anyone with the word ‘Sales’, ‘Support’, or Account’ in their Job Title
  • ‘Executive Persona’ – anyone with the word ‘Chief’ or ‘President’ in their Job Title

Create a Formula Field in Salesforce that returns Text:

Use the ‘If’ and ‘Contains’ functions on the Job Title field to return your personas if the record’s Job Title contains a relevant value:

The value of using a formula field here is as the Personas change it’s just an update to the formula field – for example if you want to add ‘VP’ the Executive Persona, just add in that line item. Here’s the compiled formula:

IF(CONTAINS(Title,’Marketing’), ‘Marketing Persona’,
IF(CONTAINS(Title, ‘Sales’), ‘Sales Persona’,
IF(CONTAINS(Title, ‘Support’), ‘Sales Persona’,
IF(CONTAINS(Title, ‘Account’), ‘Sales Persona’,
IF(CONTAINS(Title, ‘Chief’), ‘Executive Persona’,
IF(CONTAINS(Title, ‘President’), ‘Executive Persona’,
NULL))))))

Picture of Scott Ferrebbe Founder of Lighthill CRM in a light blue shirt and dark blue blazer with the top two buttons of the shirt unbuttoned revealing a white undershirt

The 3 best ways I can help you right now...

  1. Click here to schedule a call with one of our CRM Specialists.
  2. Click here to download our CRM Reality Checklist for Sales Superheroes
  3. Follow me on LinkedIn for exclusive tips, how-tos, resources, etc.

Share:

Facebook
Threads
X
LinkedIn
Email

More content...

3 easy steps to a CRM you can trust

Success Call

Share what’s broken and what “good” looks like.

Plan & Build

Get a simple plan to fix processes, data, and connections.

Launch & Win

Go live, trust your dashboards, and hit your numbers.

You’ll move from CRM chaos to predictable performance with one clear source of truth.

Trust your dashboard.
Lead with confidence.

Pick a time that works for you, and get a simple plan to make your CRM match reality.

Complete the form and we’ll get you scheduled for a CRM Success Call.

THANK YOU!

Click on the PDF below to download

Thank You!

We have your message and one of our CRM Specialists will get back to you shortly.