LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Excel vba query - data integrity

Please can anybody help me with the following:

I have two excel spreadsheets, each sheet holds the same column
headings (25 headings)

I want to compare both sheets with a primary key (ID No:) and then
show the records that DO NOT match. I do not however want to do
vlookups, or if's statements because there will be approx 36000 rows
of data in each sheet.

From the records that DO NOT match I need to locate the information
that has changed. But I only want to bring in the changes that have
occurred, for example 1:

Spreadsheet1 - ID No:12345 DOB: 28/02/78 Grade: A Department: Finance
Hours: 37
Spreadsheet2 - ID No:12345 DOB: 28/02/78 Grade: B Department; HR
Hours:37

Result = ID No: 12345 DOB (blank)Grade: B Department: HR Hours:
(blank)

Example 2:

Spreadsheet1 - ID No:56789 DOB: 28/09/82 Grade: B Department: HR
Hours: 37
Spreadsheet2 - ID No:56789 DOB: 28/09/82 Grade: BS Department: HR
Hours: 25

Result = ID No: 56789 DOB (blank)Grade: BS Department:(blank)Hours: 25

Any help would be greatly appreciated, thankyou in advance.


Rachel
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rows to columns keeping data integrity Monkeydt Excel Discussion (Misc queries) 1 February 15th 11 04:06 PM
Maintaining integrity while referencing data TheBuckStoppedHere Excel Discussion (Misc queries) 2 April 8th 09 02:27 PM
Data Integrity Error Message simmerdown Excel Discussion (Misc queries) 0 May 16th 08 03:45 PM
data formatting integrity [email protected] Excel Discussion (Misc queries) 1 April 11th 07 07:02 PM
Preserving data integrity in linked workbooks KG Excel Discussion (Misc queries) 1 February 18th 05 12:45 AM


All times are GMT +1. The time now is 08:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"