aspose file tools*
The moose likes Java in General and the fly likes Algorithem to remove duplicates from multiple xls sheets. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Algorithem to remove duplicates from multiple xls sheets." Watch "Algorithem to remove duplicates from multiple xls sheets." New topic
Author

Algorithem to remove duplicates from multiple xls sheets.

Bala Gangadhar
Ranch Hand

Joined: Oct 07, 2008
Posts: 80
    
    1
Hi Everybody,

I am working on task to remove the duplicates from xls sheets that contains mobile numbers, (no mobile number should be repeated with in the xls sheet or accross xls).
Finally i have to generate the csv files with specific number of mobile numbers ( like 1000 numbers in each). Previously i wrote a java program to upload the numbers from xls sheets to db (ms access) by keeping the mobile number as primary key. and finally generate the csv files by reading the mobile number data from db.
But as the data increases the performance of the program is too worst...

Actually my job is to get the mobile numbers data from xls sheets and remove the duplicates accross the sheets and generate the csv files with fixed number of mobile numbers.

Could anyone suggest me the how can i simplify the process....

Regards,
john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

This might not be efficient, but it should work. The comments are pseudo-code, since I don't know specifics of your code and files.


OR



Hopefully this gives you some ideas on how to solve your "issues",
John Price


“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Algorithem to remove duplicates from multiple xls sheets.
 
Similar Threads
Jakarta POI
What am I missing here? (ArrayList check)
Download it in different sheets in Excel
the joy of Out Of Memory
Need help to solve one java program