This is the excel sheet which is to be sorted and here I am stuck because I need to search "Type" if the country column from excel is uk or us.I am new to java and apache poi . I am stuck here . Please help . I have written the above code and everytime it gives me "single" as output and keep on searching that in google.I badly need help here.
According to this you are looping a number of times equal to the number of rows in your sheet.
You are then , each time, getting row 5, printing cell 5, and running a test using cell 4.
I'm guessing a bit, but presumably you should be changing the row you are checking.
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
a bit of art, as a gift, that will fit in a stocking