Hi all,
I need to do a VLOOKUP combined with a way to get a value association between two dates.
On the left hand side is the range where authorization IDs and effective/expiration dates are. On the right hand side is where a lot of data will be with names, service dates, and a column to find the applicable ID for that service date. So if Frank Smith has a service date of between 2/14/19 and 7/13/19, it needs to return "2199"
I'm able to get the date between two dates given the Service Date from the article here (https://www.extendoffice.com/documents/excel/2702-excel-vlookup-between-date-range.html) but I need to also include the Name of the person.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Name[/TD]
[TD]Effective Date[/TD]
[TD]Expiration Date[/TD]
[TD]ID[/TD]
[TD][/TD]
[TD][/TD]
[TD]Service Name[/TD]
[TD]Service Date[/TD]
[TD]Lookup ID[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Frank Smith[/TD]
[TD]2/14/19[/TD]
[TD]7/13/19[/TD]
[TD]2199[/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]6/20/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Frank Smith[/TD]
[TD]7/14/19[/TD]
[TD]12/20/2020[/TD]
[TD]2200[/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]6/29/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/12/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/13/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/14/19[/TD]
[TD]2200[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/18/19[/TD]
[TD]2200[/TD]
[/TR]
</tbody>[/TABLE]
I need to do a VLOOKUP combined with a way to get a value association between two dates.
On the left hand side is the range where authorization IDs and effective/expiration dates are. On the right hand side is where a lot of data will be with names, service dates, and a column to find the applicable ID for that service date. So if Frank Smith has a service date of between 2/14/19 and 7/13/19, it needs to return "2199"
I'm able to get the date between two dates given the Service Date from the article here (https://www.extendoffice.com/documents/excel/2702-excel-vlookup-between-date-range.html) but I need to also include the Name of the person.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Name[/TD]
[TD]Effective Date[/TD]
[TD]Expiration Date[/TD]
[TD]ID[/TD]
[TD][/TD]
[TD][/TD]
[TD]Service Name[/TD]
[TD]Service Date[/TD]
[TD]Lookup ID[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Frank Smith[/TD]
[TD]2/14/19[/TD]
[TD]7/13/19[/TD]
[TD]2199[/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]6/20/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Frank Smith[/TD]
[TD]7/14/19[/TD]
[TD]12/20/2020[/TD]
[TD]2200[/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]6/29/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/12/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/13/19[/TD]
[TD]2199[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/14/19[/TD]
[TD]2200[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Frank Smith[/TD]
[TD]7/18/19[/TD]
[TD]2200[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: