JumboCactuar
Well-known Member
- Joined
- Nov 16, 2016
- Messages
- 788
- Office Version
- 365
- Platform
- Windows
Hi,
Not sure if vlookup is the correct thing to use for this but i have data like below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]StartDate[/TD]
[TD]EndDate[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]12/05/2019[/TD]
[TD]15/05/2019[/TD]
[/TR]
[TR]
[TD]Luke[/TD]
[TD]14/05/2019[/TD]
[TD]14/05/2019[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD]11/05/2019[/TD]
[TD]16/05/2019[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]14/05/2019[/TD]
[TD]16/05/2019[/TD]
[/TR]
</tbody>[/TABLE]
Now for example if a have a sheet with dates if row 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]11/05/2019[/TD]
[TD]12/05/2019[/TD]
[TD]13/05/2019[/TD]
[TD]14/05/2019[/TD]
[TD]15/05/2019[/TD]
[TD]16/05/2019[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD]John[/TD]
[TD]John[/TD]
[TD]John[/TD]
[TD]John[/TD]
[TD]Anna[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Anna[/TD]
[TD]Anna[/TD]
[TD]Luke[/TD]
[TD]Anna[/TD]
[TD]Alex[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Anna[/TD]
[TD]Alex[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Alex[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any idea how this could be done (formula / powerquery or vba) ?
any help appreciated
Not sure if vlookup is the correct thing to use for this but i have data like below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]StartDate[/TD]
[TD]EndDate[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]12/05/2019[/TD]
[TD]15/05/2019[/TD]
[/TR]
[TR]
[TD]Luke[/TD]
[TD]14/05/2019[/TD]
[TD]14/05/2019[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD]11/05/2019[/TD]
[TD]16/05/2019[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]14/05/2019[/TD]
[TD]16/05/2019[/TD]
[/TR]
</tbody>[/TABLE]
Now for example if a have a sheet with dates if row 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]11/05/2019[/TD]
[TD]12/05/2019[/TD]
[TD]13/05/2019[/TD]
[TD]14/05/2019[/TD]
[TD]15/05/2019[/TD]
[TD]16/05/2019[/TD]
[/TR]
[TR]
[TD]Anna[/TD]
[TD]John[/TD]
[TD]John[/TD]
[TD]John[/TD]
[TD]John[/TD]
[TD]Anna[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Anna[/TD]
[TD]Anna[/TD]
[TD]Luke[/TD]
[TD]Anna[/TD]
[TD]Alex[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Anna[/TD]
[TD]Alex[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Alex[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any idea how this could be done (formula / powerquery or vba) ?
any help appreciated