Thanks for the quick follow up. Unfortunately the output array isn't what I'm looking for. I would like to get {0,0,30,10,60}. Your formula returns the same as the scan/lambda output I have..