Example worksheets:
I'm trying to resolve for Worksheet1 B2 - B4
I want to find the earliest transaction date in Worksheet2 for each UniqueID in Worksheet1 Column A and place the date in Worksheet1 Column B.
There are only unique ID numbers in A Worksheet 1
Worksheet2 is a transaction table so there are multiple records with the same ID.
I have tried using the VLOOKUP(MIN but am missing something because it just does not work.
I would prefer a function solution vs VBA, if possible.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]UniqueID[/TD]
[TD]ActualStartDate[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A123[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]A124[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]A125[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Worksheet1
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]UniqueID[/TD]
[TD]TransDate[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A123[/TD]
[TD]1/13/16[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]A123[/TD]
[TD]2/1/16[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]A124[/TD]
[TD]12/13/16[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]A123[/TD]
[TD]9/22/16[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]A124[/TD]
[TD]10/13/16[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]A123[/TD]
[TD]7/25/16[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]A125[/TD]
[TD]8/1/16[/TD]
[/TR]
</tbody>[/TABLE]
Worksheet2
Thanks,
I'm trying to resolve for Worksheet1 B2 - B4
I want to find the earliest transaction date in Worksheet2 for each UniqueID in Worksheet1 Column A and place the date in Worksheet1 Column B.
There are only unique ID numbers in A Worksheet 1
Worksheet2 is a transaction table so there are multiple records with the same ID.
I have tried using the VLOOKUP(MIN but am missing something because it just does not work.
I would prefer a function solution vs VBA, if possible.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]UniqueID[/TD]
[TD]ActualStartDate[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A123[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]A124[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]A125[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Worksheet1
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]UniqueID[/TD]
[TD]TransDate[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A123[/TD]
[TD]1/13/16[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]A123[/TD]
[TD]2/1/16[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]A124[/TD]
[TD]12/13/16[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]A123[/TD]
[TD]9/22/16[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]A124[/TD]
[TD]10/13/16[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]A123[/TD]
[TD]7/25/16[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]A125[/TD]
[TD]8/1/16[/TD]
[/TR]
</tbody>[/TABLE]
Worksheet2
Thanks,