=LISTDIFF
The =LISTDIFF() function returns all items from the first semicolon-separated list that are not present in the second list.
Syntax
Section titled “Syntax”=LISTDIFF(SemicolonSeparatedList1; SemicolonSeparatedList2)Parameters
Section titled “Parameters”-
SemicolonSeparatedList1:
The primary list from which items will be retained if they do not exist in the second list. -
SemicolonSeparatedList2:
The list of items to remove from the first list.
How It Works
Section titled “How It Works”-
Compares each item in the first list against the second list
-
Removes any items from the first list that are found in the second list
-
Returns a semicolon-separated list of remaining items
-
Works with both field tokens and static text lists
Usage Notes
Section titled “Usage Notes”- Formula functions are case sensitive and must be in ALL CAPS
Example
Section titled “Example”If the List A field contains:
Entry1; Entry2; Entry3and the List B field contains:
Entry2; Entry3; Entry4then:
=LISTDIFF([[Field: List A (Text)]]; [[Field: List B (Text)]])Result:
Entry1
Keywords
Section titled “Keywords”LISTDIFF, list difference, remove items, semicolon list, list comparison, text functions, formula function, calculated value