Advertisement

03.30.2008 at 07:09PM PDT, ID: 23281473
[x]
Attachment Details

multi column compare different worksheets or workbooks

Asked by rg20 in Microsoft Development, Microsoft Excel Spreadsheet Software, Spreadsheet Software

Tags: Microsoft, Office 2003, Excel 2003, VBA, VBA

I have 2 workbooks.  I need to compare two column of one to a 2 columns of the other.  The datatypes may not be the same.
The first workbook contains an ID and a date visited (not a date format) as a Text field.
The second workbook contains an ID and a date visited(not as a date format)
book1
ID   DATE        NOTE
1    DAY1
1    DAY2
1    DAY3
2    DAY1
2    DAY2
2    DAY3
3    DAY3

Book2
ID  DATE                     NOTE
1  first visit                  arrived
1 second visit             noshow
1 third visit                  arrived
2 first visit                   arrived
3 first visit                   arrived
2 second visit            no show
etc....

Since the ID I need to match the ID's from both sheets and copy the notes where the ID's and the dates match.  I can create a lookup table in a separate sheet or use "IF" logic in the VBA.

When the match is found, the note will be copied to the first sheetStart Free Trial
[+][-]03.30.2008 at 07:13PM PDT, ID: 21242775

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.30.2008 at 07:25PM PDT, ID: 21242817

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.30.2008 at 08:32PM PDT, ID: 21243033

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 08:10AM PDT, ID: 21246066

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 08:22AM PDT, ID: 21246199

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Development, Microsoft Excel Spreadsheet Software, Spreadsheet Software
Tags: Microsoft, Office 2003, Excel 2003, VBA, VBA
Sign Up Now!
Solution Provided By: zorvek
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.31.2008 at 09:42AM PDT, ID: 21246990

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 09:43AM PDT, ID: 21246998

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 12:17PM PDT, ID: 21248218

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628