This is my Excel data:
| | Animal | Step | IsGood |
|:-:|:------:|:----:|:------:|
| 1 | Dog | 1 | true |
| 2 | Cat | 2 | true |
I wish to duplicate all the rows in my Excel file (not including the Header row) and manipulate the data. My New Excel File should look like this:
| | Animal | Step | IsGood |
|:-:|:------:|:----:|:------:|
| 1 | Dog | 1 | true |
| 2 | Dog | 2 | false |
| 3 | Cat | 3 | true |
| 4 | Cat | 4 | false |
How do I this using Java? I'm using org.apache.poi
library.