vba - Compare Two Columns in Excel and Output Matched Results -


I'm not sure how to write it in VBA using macros

I have a workbook Compare, compare. Xls

Sheet 1

  Date ID Other sub-chain 10000 100 Repeat X 30 10000 101 Repeat X 40   

sheet 2

  TTC event Chan XYZ L 30 XYZ L 40 XYZ L 6   

and this data, I need to compare the Chain column from sheet 2 to the record chain record of a record in sheet 2, and the output is linked to the data from both the sheets.

Example output will be:

  date id other sub-chain ttc 10000 100 repeat x 30 xyz   

On a snippet, on

Just see if you want to use VBA - not too sure Do that when it can be easily built into formulas?

Because you are not going to back using VLLOKUP can not be the best option INDEX and Try using a MATCH ...

A simplified version ...

 Enter image details here

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -