Comparing two Excel sheets and combining the unique data can be done with the help of macros. There are several macros available for free that can be downloaded from the internet and tweaked according to the requirements. Although the macros are not required to be written from scratch, some knowledge of programming concepts such as if -else- loops and nested loops can prove useful when writing macros for Excel office software. Redundant data can be removed from the Excel worksheets by using macros that can compare and combine unique data in Excel sheets.
There are two Excel sheets, A and B. There is redundant data in both sheets as well as unique data. The aim is to combine both with no redundant records:
- A+B-Redundant = Unique Complete Data.
The issue arises when it is not possible to copy and paste, and then filter unique, because the total data is more than 68000, which is more that 65K rows per sheet. How is it possible to use the IF(...) command?
Without going into a lot of details, there are several ways to combine specific data from numerous sources of RAW DATA. The easiest way (once you understand how) would be to use Microsoft Access. Here you will need to use the 'help options' for the specific process; but what you will be doing is "mapping" two or more documents together which share 1 category of redundant information (i.e. NAME, PART NUMBER, etc.).
For example, if each the worksheet has a person's NAME, along with another column or information. you would map the NAME in each worksheet, then select the additional fields you want captured in your output. Besides the Access Help engine, you can repost your help request here under 'mapping & Linking).
If you want to stay in Excel, try using an Index Match statement.
Type this formula in a blank cell within the row/entry you are comparing. This formula will look in SheetA through all data within column A. If data is matched to the identifier ($A2), it will then copy the data entered in column C (number or text). #N/A is reported if no match is found.
Part1 $2 A xxx
Part2 $3 B yyy
Part2 $4 V zzz
Part1 50 MN type your formula
Part2 60 WI type your formula
Part2 70 MO type your formula
The cell with the formula will collect "A","B" and ,'V" from the first sheet.
Copy and change the formula to collect data from the columns you want (skip the redundant/superfluous ones).
For best results, lock in your 'identifier' cell (in this case $A2)
To use a formula solution, data within sheets needs to be organized the same way because you are defining which 'columns' to match and pull information from.
- How to map data in two excel sheets
- How to match data in excel from 2 worksheets - Best answers
- Compare two excel files - Best answers
- How to copy data from one excel sheet to another - Guide
- How to get data from one excel sheet to another automatically ✓ - Forum - Excel
- Transfer Data From One Excel Sheet to Another - How-To - Excel
- Transfer Data From One Excel Sheet to Another Using VBA Code - How-To - Excel
- How To Copy Data from One Excel Sheet to Another Using a Formula - How-To - Excel