Brian Dunning's FileMaker Custom Functions

GetItemRank ( item ; ValueList )

returns the item rank in a list

  Average rating: 3.9 (38 votes) Log in to vote

Fabrice Nordmann   Fabrice Nordmann

Share on Facebook Share on Twitter

  Sample input:
GetItemRank ( "toto" ; "titi¶toto¶tata" )
  Sample output:

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

I don't use this one anymore, since PositionValue, by Geoff Wells ( ) does the same, with more features.]

I found Klemens Miller's function cf_getElementNo very elegant, but I needed it to return the rank only if the item was matching exaclty an item of the list, and not if it was only found (= vs patterncount ).
Function returns 0 if item is not matching any list value.



Log in to post comments.


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

Under construction. Email me your wish list for improvements.