Bickel and Doksum, Mathematical Statistics, Holden-Day, 1977. Page 397 for the Kuskal-Wallis midrank statistic.
Entering the Cell Frequencies
The dimensions of the table MUST be specified. Note: only cell values within the upper left corner represented the rows and columns specified will be used in the calculation and the table size defaults to a 2 by 2 table.