Skip to main content

Array Difference Function in Formulas

  • May 15, 2026
  • 0 replies
  • 11 views

Forum|alt.badge.img+11

Hey Community,

Just seeing if there’s still a need for this kind of array function in formula fields?

It would compare 2 arrays and remove the values that appear in both.

I submitted the suggestion through the idea form, but when I realized it’s an old community idea I thought it might need more feedback/attention.


My use cases would be product gap reports in my CRM and non-openers in my email campaigns. What would your use cases be?
 

This is how it works with javascript:

const arrA = [1, 2, 3, 4]; const arrB = [3, 4, 5, 6];
const difference = arrA.filter(x => !arrB.includes(x)); //

Output: [1, 2]

 

Here’s the OP: