Mconcat based on Date Range

Chip_Excel

New Member
Joined
Jul 20, 2010
Messages
8
Hi,
I am trying to create a column that will denounce if a given date range falls within another.
Here is what it would look like in a perfect world with the formula in the cells of column D.
The formula would return all event instances that are shared with the start and finish date.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]EVENT[/TD]
[TD]Start[/TD]
[TD]Finish[/TD]
[TD]WHAT FORMULA WOULD CALC[/TD]
[/TR]
[TR]
[TD]EVENT 2[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]5/22/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]5/22/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/17/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/19/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 4[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/17/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/18/2013 (Tue)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/24/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/31/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 5
Event 6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/25/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/28/2013 (Sun)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 4
Event 6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 7[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/26/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/26/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 4
Event 5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 8[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/16/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/20/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EVENT 9[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/29/2013 (Sun)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]10/3/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 9[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 10[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/26/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]10/3/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 8[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 11[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]11/4/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]11/7/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EVENT 12[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]12/2/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]12/6/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EVENT 13[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]1/6/2014 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]1/13/2014 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Let me know if you need anymore information!
Chip
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Sorry, table information was slightly off. Here is corrected:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]EVENT[/TD]
[TD]Start[/TD]
[TD]Finish[/TD]
[TD]WHAT FORMULA WOULD CALC[/TD]
[/TR]
[TR]
[TD]EVENT 2[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]5/22/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]5/22/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/17/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/19/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 4[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 4[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/17/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]6/18/2013 (Tue)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/24/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/31/2013 (Wed)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 6
Event 7[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl65, width: 72"]EVENT 6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/25/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/28/2013 (Sun)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 5
Event 7[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 7[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/26/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]7/26/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 5
Event 6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 8[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/16/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/20/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EVENT 9[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/29/2013 (Sun)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]10/3/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 10[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 10[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]9/26/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]10/3/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 197"]
<tbody>[TR]
[TD="class: xl65, width: 197"]Occurs same time as:
Event 9[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]EVENT 11[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]11/4/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]11/7/2013 (Thu)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EVENT 12[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]12/2/2013 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]12/6/2013 (Fri)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]EVENT 13[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]1/6/2014 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 111"]
<tbody>[TR]
[TD="class: xl65, width: 111"]1/13/2014 (Mon)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,268
Messages
6,171,099
Members
452,379
Latest member
IainTru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top