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

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.

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

1 Answer 1

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:


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
It is open source. The source code is available. It is not free software, though. I am aware, of course, that there are organizations that try to brainwash us into thinking those two things are the same... –  limulus May 29 at 20:44
According to en.wikipedia.org/wiki/Open-source_software: Open-source software (OSS) is computer software with its source code made available and licensed with a license in which the copyright holder provides the rights to study, change and distribute the software to anyone and for any purpose.. The license restricts the purposes by which the software can be used, ergo it is not open source –  Nirk May 30 at 3:31

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