btw. what if values contain zeroes? Well, i looked at the data, looked again, and I saw no zero in data ...;) (just kidding, 999 is safer of course) Thank you for the reply. M.