Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6994775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:56:06+00:00 2026-05-27T19:56:06+00:00

I have to compare two Excel files having different number of sheets, different number

  • 0

I have to compare two Excel files having different number of sheets, different number of columns/rows, merged cells, formulas etc.

The output of the comparison should allow the user to see which rows/columns were added, deleted, modified, re-arranged. This whole thing has to be done using C#,.NET

Can anyone help me out?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:56:06+00:00Added an answer on May 27, 2026 at 7:56 pm

    You need to define your scope better. As @Brijeesh suggested, there are 3rd party libraries like EPPLus, and also NPOI for reading the files. But this is not about reading the files, but rather performing some “comparison” that you have an idea in your head how you want it to happen.

    This question is too broad to be answered in a single thread like this.

    • Are the spreadsheets in a known format?
    • Do you only want to check certain sheets / columns ?
    • You mentioned wanting to see which columns were re-arranged, this implies knowing what order they were in the first place. Again – is the spreadsheet in a known format?

    You should start to answer these questions, and trim down the scope of what you’re trying to do into manageable tasks.

    EDIT:

    VSTO has its benefits, and it’s downfalls (the user must have excel installed). 3rd party libraries also have their ups and downs. Which method you should use for accessing the spreadsheets was not the question in this thread.

    Again – focus on one thing at a time. What do you want to compare, and how do you want to do it? Then you can worry about which library you should use. Though – when you’re ready to ask that question, open a separate question so that the posts can stay on topic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How would I compare two arrays that might have different lengths and get the
I have run into a situation where I need to compare two different lists
I want to compare values in two columns in Excel as depicted in the
I have a problem when I try to compare two large files. What I
In excel 2010, I have to compare two versions (old, new) of the same
I have to compare two strings for case insensitive equality which one is faster
I want to compare two times in VB.net: I have 1:42:21 PM and I
I am trying to compare two dates. I have this code which I thought
I have a List<Foo> , and a compare() method taking two Foo objects and
I have two dates: how do I compare which one is greater date in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.