jevi
Active Member
- Joined
- Apr 13, 2010
- Messages
- 339
- Office Version
- 2016
- Platform
- Windows
[TABLE="width: 360"]
<colgroup><col><col span="2"><col span="2"></colgroup><tbody>[TR]
[TD="align: right"] 05/11/2018[/TD]
[TD][/TD]
[TD]Ann[/TD]
[TD="align: right"]01/11/2018[/TD]
[TD="align: right"] -06/11/2018[/TD]
[/TR]
[TR]
[TD]Ann[/TD]
[TD][/TD]
[TD]Ann[/TD]
[TD="align: right"]01/12/2018[/TD]
[TD="align: right"] -02/12/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Sam[/TD]
[TD="align: right"]24/12/2018[/TD]
[TD="align: right"] -24/12/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Sam[/TD]
[TD="align: right"]28/12/2018[/TD]
[TD="align: right"] -28/12/2018
[/TD]
[/TR]
</tbody>[/TABLE]
=LOOKUP(3;2/($D$1:$D$4<=A1)/($E$1:$E$4>=A1);$C$1:$C$4)
Hi all,
I am looking for a formula that needs to check if the date 05/11/2018 is in the whole range starting from 01/11/2018 to 28/12/2018 and if the name below the date 05/11/2018 matches that in the column name.
I tried the above formula but is not working.
Thank you for your help.
<colgroup><col><col span="2"><col span="2"></colgroup><tbody>[TR]
[TD="align: right"] 05/11/2018[/TD]
[TD][/TD]
[TD]Ann[/TD]
[TD="align: right"]01/11/2018[/TD]
[TD="align: right"] -06/11/2018[/TD]
[/TR]
[TR]
[TD]Ann[/TD]
[TD][/TD]
[TD]Ann[/TD]
[TD="align: right"]01/12/2018[/TD]
[TD="align: right"] -02/12/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Sam[/TD]
[TD="align: right"]24/12/2018[/TD]
[TD="align: right"] -24/12/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Sam[/TD]
[TD="align: right"]28/12/2018[/TD]
[TD="align: right"] -28/12/2018
[/TD]
[/TR]
</tbody>[/TABLE]
=LOOKUP(3;2/($D$1:$D$4<=A1)/($E$1:$E$4>=A1);$C$1:$C$4)
Hi all,
I am looking for a formula that needs to check if the date 05/11/2018 is in the whole range starting from 01/11/2018 to 28/12/2018 and if the name below the date 05/11/2018 matches that in the column name.
I tried the above formula but is not working.
Thank you for your help.