TTLastIndex()

TTLastIndex() has the same functionality as TTLast() but returns the position in the list of the last result. 

e.g. TTLastIndex(10;20;30;40) - returns a number 1-4 according to the last result of 10,20,30 & 40 which holds a time