GetItemRank ( item ; ValueList )
returns the item rank in a list
Average rating: 3.9 (38 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
I don't use this one anymore, since PositionValue, by Geoff Wells ( http://www.briandunning.com/cf/62 ) 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.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.