LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
ap ap is offline
external usenet poster
 
Posts: 3
Default Complex comparison of Columns of Data: Extracting unique records after comparison on 4 levels

Dear all,

as a relative VBA newbie I seem to have gotten into something a little
bit over my head :S

I have two lists on two different sheets, which I need to compare on
multiple levels. Usually I can manage by browsing this group and
creatively combine some of the previous solutions. However, atm I am at
a loss...

I have (as an example) on the first row of Sheet1:
Identifier (col A) b c d
VS0067157023 5 2424 2425
VS0067157024 5 2431 2433

Sheet2:
Identifier (col A) b c d
VS0067157023 5 2424 2425
VS0067157024 6 2431 2433
VS0067157055 6 2400 2433

Now comes the hard part (sorry if my english is not perfect...) I need
to compare this with the data on Sheet2:

- if there is an exact match on all four levels (A to D) in any row on
Sheet2 nothing happens
- if there is a mismatch on any level -- the record with the
identifier VS0067157024 needs to be written to Sheet3
- This example record is on row 2 on Sheet1, but might not be on row 2
on Sheet2 but on any row on Sheet2
- After is have done this, I also need to write the unique records from
Sheet2 to a Sheet4 (in this example the VS0067157055 record)

Two things I do know:
- on both sheets there are no empty cells in the list of Identifiers.
(Except after the last one ofc...)
- the data has the same format on both sheets, i.e. the same columns on
both sheets.

Any help would be greatly and utterly appreciated!

H.

 
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
Comparison of Columns Rob Excel Discussion (Misc queries) 3 January 28th 10 12:02 PM
Matching Data Columns for comparison John Excel Discussion (Misc queries) 1 January 8th 07 06:24 AM
Comparison of records between two spreadsheets Carolyn at VW Excel Worksheet Functions 5 June 27th 06 12:13 AM
Comparison between 2 columns ? nisha Excel Programming 1 June 9th 04 08:20 PM
Comparison between 2 columns ? nisha Excel Programming 0 June 9th 04 07:21 PM


All times are GMT +1. The time now is 09:16 AM.

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"