A general solution for correcting correlations for restriction of range was provided by Lawley (1943). I would certainly value the implementation of this procedure in statistiXL, and perhaps others would also. The reference is: Lawley, D. N. (1943). A note on Karl Pearson's selection formulas. Proceedings of the Royal Society of Edinburgh. Section A, 62, Part I, 28-30.