Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an excel file which has many rows with more than 10000 records. I need to compare two rows whether the two rows have the same value for the corresponding cell using java script.

share|improve this question
4  
Hi Martin! Can you explain in more detail please? Do you really need to compare two rows in Excel sheets with JavaScript? Client-side? –  slhck Jan 8 '13 at 19:07
add comment

closed as not a real question by slhck Mar 1 '13 at 14:45

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

This is an uncommon request to say the least (JavaScript + Excel?), but you're in luck:

Microsoft has released an XLSX parser written in JavaScript – and, believe it or not, it's open source:

https://github.com/stephen-hardy/xlsx.js

Once the data is available as JavaScript objects, doing what you aim to do should be straightforward.

share|improve this answer
    
Also check out blog.innovatejs.com for similar libraries working with DOCX and ("soon") XCHG formats. –  limulus Jan 8 '13 at 19:26
    
As discussed (github.com/stephen-hardy/xlsx.js/issues/8) this project is definitely not open source –  Nirk Apr 10 at 22:56
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.