This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Sorting Excel using POI (HSSF) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Sorting Excel using POI (HSSF)" Watch "Sorting Excel using POI (HSSF)" New topic

Sorting Excel using POI (HSSF)

Gaja Venkat
Ranch Hand

Joined: Aug 10, 2001
Posts: 50
I am using HSSF POI to create an Excel sheet. I am in need of sorting this sheet based on a column value. If you know how to do this, please let me know.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
POI is just an API to read and write Excel files. You can use it to perform some simple manipulations, but nothing like sorting. That would be good addition, though, so if you get around to implementing it, you might consider contributing the code to the project

Since POI is a 3rd party API, I'm moving this thread to Other Open Source Projects.
I agree. Here's the link:
subject: Sorting Excel using POI (HSSF)
It's not a secret anymore!