Thank for you help. I need the average value to plot a graph another graph. This is the first 10 value averge but how about the rest of my data, because i a set of average value. i.e average first 10 values of my data and then second 10 values and so on until finish process my data. (in between each average value i have 6 values but i don't want these values).