Solved

MS Excel file comparison

Posted on 2014-03-31
7
221 Views
Last Modified: 2014-04-07
Hello,
I searched the internet and looked at Excel, yet could not find how I would be able to compare two Excel files.
The way I did this the last time, was to convert the excel file to a word/text file, then I was able to use Word to compare the two.  I am searching for a direct way, comparing excel file to excel file.  Maybe there are other ways?
thanks
0
Comment
Question by:chima
  • 3
  • 3
7 Comments
 
LVL 30

Expert Comment

by:captain
ID: 39968069
This really depends on your objective. Do you want to compare excel files for differences or do you want to compare data?

If it is the latter you can have a third sheet looking at 2 sheets and run a formula across the sheet such as
=if(worksheet1!A1=worksheet2!A1,1,0)

This will return a "1" when the data is the same and a "0" if it isn't. You can then have conditional format to highlight any 0 in red and locate differences.
0
 

Author Comment

by:chima
ID: 39968236
captain, I see how the formula would work.  I think each Excel file will be different and it would take a lot of effort to create the formulas for each cell.  I'll keep this in mind.

slightwv, I do not agree you removing it from the Oracle zone.  An Expert there might have had knowledge or an idea to share with me.  And if there weren't anyone, then no one would have responded.
0
 
LVL 30

Expert Comment

by:captain
ID: 39968667
If you work on an empty 3rd sheet you simply copy the formula across all cells by dragging it. Of course this depends on the layout of the sheets that you compare being equal and just data being different.

You can ignore the 1s which will also appear on empty cells anyway and the 0s will highlight quickly any differences.

If the layout of your files is different then you have no way of comparing automatically without writing special formulas conditional to each.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:chima
ID: 39969769
captain, allow me time to look at what you wrote and I will get back to you.  thanks
0
 
LVL 30

Accepted Solution

by:
captain earned 500 total points
ID: 39972961
No problem, if you have a sample file with dummy data please share.
0
 

Author Closing Comment

by:chima
ID: 39983625
thanks
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question