Hi Alex, Today Alex van den Bogaerdt wrote: [...] > That is because in that example, I want MAX, not LAST. for MAX and MIN it would work I agree ... cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900