Export Excel file and grouping rows or columns in sheet using EasyXLS library! XLSX, XLSM, XLSB, XLS file in Java.
https://www.easyxls.com/manual/tutorials/java/excel-group-rows-columns.html