Scans an array by applying a LAMBDA to each item, returning an array containing each intermediate value.
Syntax :
=SCAN ([initial_value], array, lambda(accumulator, value))
Parameters :
Example :
To create a list of factorials insert the sample data into cells A1:C2, and then copy the formula into cell D4:
=SCAN(1, A1:C2, LAMBDA(a,b,a*b))
Ask Your Query