I have the follwing table in the excel spreadsheet
manager salary
puk 2
puk 3
puk 4
puk 5
ser 3
ser 4
ser 5
sos 23
sos 24
sos 25
sos 26
sos 27
I need to split this spreadsheet into three different shpreadsheets using FileOutputStream . The first should contain all entries for manager puk, second ser . . .
I cannot come up with a good logic to split it . Should I create a temporary copy of the original spread sheet and then remove all extra rows and save it ? Than how can I remove the rows ?
(This could have been done easily with CSVReader , but I need to preserve the formatting )