Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Show Distinct values from excel column using POI
Krishna Ruddarraju
Greenhorn
Posts: 4
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I need to show only distinct values from an excel(.xls) column using POI.
Please advise.
Eg: If a column has values - A, B, B, B, C, D - I need to show - A, B, C, D
Thanks,
Krishna
Rob Spoor
Sheriff
Posts: 22781
131
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Show them where? In Excel, or in your own application?
If you know how to read the column's values, you can store them in a Set. That will only store unique objects.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Krishna Ruddarraju
Greenhorn
Posts: 4
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yep. In my own application. Just got it.
Thanks
Sindhu bs
Greenhorn
Posts: 7
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Krishna,
I need to fetch unique values in the column through apache poi. Can you please tell em how you achieved it.Thanks for the help!
Sindhu bs
Greenhorn
Posts: 7
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Krishna,
I also need to get unique values from a column. Can you please tell me how you achieved it? Thanks in advance!
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Sorting a sheet by a column in POI
Sorting Excel using POI (HSSF)
data from data base to excel in servlet
POI Question. Converting column numbers to excel column references.
Converting special characters to hex code
More...