columnSize

fun columnSize(sheet: Sheet, columnIndex: Int): Int

Starts as the last row number of the sheet and looks up in the column to find the first non-null cell

Return

the number of rows that have data in the particular column as defined by not having a null cell.

Parameters

sheet

the sheet holding the column, must not be null

columnIndex

the column index, must be 0 or greater, since POI is 0 based columns