Brian Dunning's FileMaker Custom Functions

DifferenceValues ( ListA ; ListB )

Returns a single instance of all lines that are in ListA but not in ListB

  Average rating: 4.4 (37 votes) Log in to vote

Koen Van Hulle   Koen Van Hulle
SHpartners
http://www.shpartners.com

Share on Facebook Share on Twitter

  Sample input:
DifferenceValues("Apple¶Pear¶Orange¶Banana"; "Apple¶Orange" )
  Sample output:
Pear¶Banana

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This function returns a single instance of all lines that are in ListA but not in ListB.
A variant on the XORvalues function from Ray Cologon, NightWing Enterprises

 

Comments

PhilFileMaker   PhilFileMaker
Sep 2, 2023
A nice function would be to SHOW what values are duplicate
If ListA is
C_001
C_001
C_002

and ListB is
C_001
C_002

We should receive as result
C_001
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: