Brian Dunning's FileMaker Custom Functions

SumXListValues ( numbers ; x ; start )

Sum X values in a list of numbers

  Average rating: 4.6 (10 votes) Log in to vote

Kris Weyling   Kris Weyling - Show more from this author
Digital Fusion Ltd.

Share on Facebook Share on Twitter

  Sample input:
SumXListValues (
List ( "1" ; "2" ; "3" ; "4" ; "5" ) ;
4 ;
  Sample output:

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

Take a list of numbers, and add/sum all the numbers up to a certain point in the list. Useful for accumulative totals



Bruce   Bruce, Redmond WA
Nov 29, 2016
Description comments appear to be left over from function Prepend List.
Kris Weyling   Kris Weyling, Digital Fusion Ltd.
Nov 29, 2016
Thanks for that, copied the header from another function, forgot to change the title :)
Tim   Tim, Larbert
Dec 4, 2016
how would the performance of this compare?

let ( _evstr=substitute( middle values (numbers ; start ; x); "ΒΆ"; "+")

evaluate( left(_evstr; length(_evstr)-1))

unix   unix, Japan
Dec 7, 2016
Length of _evstr may be limited ( <10,000 ?)

Log in to post comments.


Note: these functions are not guaranteed or supported by 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 15 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: