• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Algorithem to remove duplicates from multiple xls sheets.

 
Ranch Hand
Posts: 157
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Ranch Hand
Posts: 495
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic