How to get row count in an Excel file using POI library? April 15, 2023 by Tarik Try Sheet.getPhysicalNumberOfRows()