I have hundreds of records in sheet1 with various create dates and values. I need to find the records in sheet2 matching on column B
Sheet1
A B
1. 10/1/2012 In 6
2. 9/5/2011 In 7
3. 3/3/2007 In 7
4. 3/5/2011 In 8
Sheet2
A B
1. 11/2/2012 In 6
2. 10/5/2005 In 8
3. 6/6/2011 In 9
....
So I need to return the records from sheet1 that either the column B value is not in sheet2 colB or the colB record is present but the date in colA is earlier than the record in sheet1. What formula should I use? I have a vague idea that the vlookup() function would be helpful but am not sure how I can limit the return to these conditions in Excel
So I want to return from Sheet1:
A B
9/5/2011 In 7
3/3/2007 In 7
3/5/2011 In 8