to get columns from Excel files using Apache POI??

Posted by posdef on Stack Overflow See other posts from Stack Overflow or by posdef
Published on 2010-05-27T15:56:25Z Indexed on 2010/05/27 16:01 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

Hi,

In order to do some statistical analysis I need to extract values in a column of an Excel sheet. I have been using the Apache POI package to read from Excel files, and it works fine when one needs to iterate over rows. However I couldn't find anything about getting columns neither in the API (link text) nor through google searching.

As I need to get max and min values of different columns and generate random numbers using these values, so without picking up individual columns, the only other option is to iterate over rows and columns to get the values and compare one by one, which doesn't sound all that time-efficient.

Any ideas on how to tackle this problem?

Thanks,

© Stack Overflow or respective owner

Related posts about java

Related posts about apache