CountMultipleValues ( sourceList ; output )
Summarize a list into ValueAx2,ValueB,ValueCx3
Be the first to rate this function Log in to vote
|
RealGrouchy - Show more from this author
https://realgrouchy.blogspot.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This is a recursive function I built in 2018 to convert a list of values into a count,
e.g. turn CountMultipleValues ( "A¶B¶B¶C¶C¶C¶D" ; "" ) into "A,Bx2,Cx3,D"
The multiplier symbol ("x" above) and the separator symbol ("," above) can be easily customized.
The use case was that I had a list of ticket purchases (tickets A, B, C, and D) and I wanted a compact way to display in the footer of the printed ticket list how many of each type of ticket I'd need to have on hand.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.