Brian Dunning's FileMaker Custom Functions

Matrix ( List1 ; List2 )

Takes two lists of values and outputs all of the combinations of values from the lists.

  Average rating: 3.5 (39 votes) Log in to vote

Rob Westergaard   Rob Westergaard
DataStorm Solutions
http://www.datastorm-solutions.com/

Share on Facebook Share on Twitter

  Sample input:
Matrix ( "blue¶green¶red" ; "one¶two¶three¶four" )
  Sample output:
red-one
red-two
red-three
red-four
green-one
green-two
green-three
green-four
blue-one
blue-two
blue-three
blue-four

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

This function takes two lists of values and outputs all of the combinations of values from the lists (the text equivalent of multiplying the two lists). You can expand on this function by making the delimiter a third input (rather than fixed as "-").

 

Comments

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.

Under construction. Email me your wish list for improvements.