Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

java codes for uploading excel datas and comparing variance of the names and there grand total

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want tutorial on writing a java application that can upload two different excel data file ".xls"' compare the name column and the amount column to give variance in the two.

Format:

SN. NAME. RANK AMOUNT
1. John C. 7/2. 1,000,000.00


Thanks
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can use plug-in :poi.jar
 
Buraimoh Abolore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do I use plugin poi.jar? please direct me.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Ranch is NotACodeMill so there is no point in expecting "codes"

What have you tried so far and where are you stuck?
Your requirement can roughly be broken into
1) Upload a file (Check out the File upload FAQ for options on how to achieve this https://coderanch.com/how-to/java/FileUpload)
2) Parsing the xls file (You can use poi as suggested by Li above, or JExcel
3) Compare the contents (You will need to write your own logic for this one)
 
Li Qiangqiang
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Buraimoh Abolore wrote:How do I use plugin poi.jar? please direct me.


it is a little not easy。 just google it .and learn it . my dear friend.
 
Grow a forest with seedballs and this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic