Please, we need a little more information if any of us are to help out. Do you have 20 sets of data or 20 points? You want to pick 5 points at random to determine the range? Is the data vs. time, X vs. Y or just sequential? How is the data collected (1D array, 2D array, cluster, string, numerics, etc.)?
==============================================
