artikyulashun
New Member
- Joined
- Aug 21, 2012
- Messages
- 41
I have a three columns for 2018 Holidays :
[TABLE="width: 500"]
<tbody>[TR]
[TD]Subject[/TD]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[/TR]
[TR]
[TD]Weight Loss Awareness Month[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]National Blood Donor Month[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]National Hobby Month[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]Golden Globes[/TD]
[TD]1/7/2018[/TD]
[TD]1/7/2018[/TD]
[/TR]
[TR]
[TD]Girl Scout Cookie Season Begins[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]Diet Resolution Week[/TD]
[TD]1/1/2018[/TD]
[TD]1/7/2018[/TD]
[/TR]
[TR]
[TD]Hunt For Happiness[/TD]
[TD]1/4/2018[/TD]
[TD]1/20/2018[/TD]
[/TR]
[TR]
[TD]New Year's Day[/TD]
[TD]1/1/2018[/TD]
[TD]1/1/2018[/TD]
[/TR]
[TR]
[TD]Trivia Day[/TD]
[TD]1/4/2018[/TD]
[TD]1/4/2018[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to use the following formula to return a list of "active" Holidays between two dates.
=IFERROR(INDEX(Holidays,MATCH(1,(start_dates>=T$5)*(end_dates<=X$5),0)),"")
The start date in this example would be 12/27/2018 and the end date would be 1/3/2018.
Appreciate your consideration.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Subject[/TD]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[/TR]
[TR]
[TD]Weight Loss Awareness Month[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]National Blood Donor Month[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]National Hobby Month[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]Golden Globes[/TD]
[TD]1/7/2018[/TD]
[TD]1/7/2018[/TD]
[/TR]
[TR]
[TD]Girl Scout Cookie Season Begins[/TD]
[TD]1/1/2018[/TD]
[TD]1/31/2018[/TD]
[/TR]
[TR]
[TD]Diet Resolution Week[/TD]
[TD]1/1/2018[/TD]
[TD]1/7/2018[/TD]
[/TR]
[TR]
[TD]Hunt For Happiness[/TD]
[TD]1/4/2018[/TD]
[TD]1/20/2018[/TD]
[/TR]
[TR]
[TD]New Year's Day[/TD]
[TD]1/1/2018[/TD]
[TD]1/1/2018[/TD]
[/TR]
[TR]
[TD]Trivia Day[/TD]
[TD]1/4/2018[/TD]
[TD]1/4/2018[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to use the following formula to return a list of "active" Holidays between two dates.
=IFERROR(INDEX(Holidays,MATCH(1,(start_dates>=T$5)*(end_dates<=X$5),0)),"")
The start date in this example would be 12/27/2018 and the end date would be 1/3/2018.
Appreciate your consideration.