Thank you for taking a look at my issue. It is a little long but I have tried to explain it as concisely as possible and will be happy to answer any questions. The included example data shows what i would like the end result to look like. I am using windows 7, Excel 2010.</SPAN>
I am looking to search the column “name” in Data Set(2) for a name from Data Set(1) to find a match. If there is a match I want to compare the associated Date from Data Set(1) to the Date in DataSet(2) and if Date(2)>Date(1) then output text "Success" in the results column.</SPAN>
If Date(2)>Date(1) is not true, then continue searching Data Set(2) for the name again until another match is made and then repeat the date test and so on until both the name and date tests are true.
I would like to do this for every name in Data Set(1)
</SPAN>
The current manual process I do right now is.</SPAN>
Thank you to everyone again for your time if you made it this far. I have tried a few formuals to absolutly no avail so far. I get the feeling this will need to be done in Visual Basic which i am not very good at writing in but am good at editing in.
Example Data
[TABLE="width: 304"]
<TBODY>[TR]
[TD="class: xl68, width: 139, bgcolor: transparent, colspan: 2"]Data Set(1)
[/TD]
[TD="class: xl70, width: 64, bgcolor: transparent"][/TD]
[TD="class: xl68, width: 139, bgcolor: transparent, colspan: 2"]Data Set(2)
[/TD]
[TD="class: xl69, width: 64, bgcolor: transparent"]Results
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]Name
[/TD]
[TD="class: xl66, bgcolor: transparent"]Date
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]Name
[/TD]
[TD="class: xl66, bgcolor: transparent"]Date
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1112A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/1/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1112A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/29/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]12/1/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1105C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]12/26/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]1/5/2015
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1109B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]3/4/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/20/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/21/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1114A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/6/2015
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1112A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/7/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1115C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]6/15/2015
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]111D
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]6/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1111C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/20/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1315A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/2/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1112B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]12/11/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/1/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1117A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]5/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/25/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]8/12/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1116B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]8/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1115C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]7/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1111C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/27/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/12/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1112B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]3/10/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/25/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
</TBODY>[/TABLE]
I am looking to search the column “name” in Data Set(2) for a name from Data Set(1) to find a match. If there is a match I want to compare the associated Date from Data Set(1) to the Date in DataSet(2) and if Date(2)>Date(1) then output text "Success" in the results column.</SPAN>
If Date(2)>Date(1) is not true, then continue searching Data Set(2) for the name again until another match is made and then repeat the date test and so on until both the name and date tests are true.
I would like to do this for every name in Data Set(1)
</SPAN>
The current manual process I do right now is.</SPAN>
- Copy Name from Data Set(1) </SPAN>
- Find (Ctrl F) in Data Set(2) for the name</SPAN>
- Manually determine if Date(2)>Date(1)</SPAN>
- If Date(2)>Date(1) is not true</SPAN>
- Repeat Step 2 and exclude name that was just tested</SPAN>
- Repeat Step 3 </SPAN>
- If Date(2)>Date(1) is true, Type “Success” in results column
- If Date(2)>Date(1) is not true</SPAN>
Thank you to everyone again for your time if you made it this far. I have tried a few formuals to absolutly no avail so far. I get the feeling this will need to be done in Visual Basic which i am not very good at writing in but am good at editing in.
Example Data
[TABLE="width: 304"]
<TBODY>[TR]
[TD="class: xl68, width: 139, bgcolor: transparent, colspan: 2"]Data Set(1)
[/TD]
[TD="class: xl70, width: 64, bgcolor: transparent"][/TD]
[TD="class: xl68, width: 139, bgcolor: transparent, colspan: 2"]Data Set(2)
[/TD]
[TD="class: xl69, width: 64, bgcolor: transparent"]Results
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]Name
[/TD]
[TD="class: xl66, bgcolor: transparent"]Date
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]Name
[/TD]
[TD="class: xl66, bgcolor: transparent"]Date
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1112A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/1/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1112A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/29/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]12/1/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1105C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]12/26/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]1/5/2015
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1109B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]3/4/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/20/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/21/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1114A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/6/2015
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1112A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/7/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1115C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]6/15/2015
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]111D
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]6/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1111C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/20/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1315A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/2/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]1112B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]12/11/2014
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]10/1/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1117A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]5/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/25/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]8/12/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1116B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]8/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1115C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]7/1/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1111C
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]11/27/2014
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1114A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/12/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1112B
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]3/10/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"]1113A
[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]2/25/2015
[/TD]
[TD="class: xl66, bgcolor: transparent"]Success
[/TD]
[/TR]
</TBODY>[/TABLE]