This routine produces a handy statistical summary of the values in a data range, including a frequency histogram. The routine is particularly designed to summarise the output of Monte Carlo iterations. For a range containing 500 normally distributed random variables, the output looks something like this:

The percentiles are accurate only if the data is a sorted column vector.