count of time ranges in other time ranges

ChynTi

New Member
Joined
Aug 8, 2019
Messages
1
Hi guys,
I'm struggling with formula, which will count the number of operations "name" did simultaneously, even partially.

I'd like to have a 1 or 0 information in new column (1 = the time interval exist, even partially, anywhere else).

Data looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]name[/TD]
[TD]start[/TD]
[TD]end[/TD]
[/TR]
[TR]
[TD]Mark
[/TD]
[TD]01.06.2019 0:22:33[/TD]
[TD]01.06.2019 4:36:26[/TD]
[/TR]
[TR]
[TD]Steve[/TD]
[TD]01.06.2019 23:54:17[/TD]
[TD]02.06.2019 2:40:11[/TD]
[/TR]
[TR]
[TD]Mark[/TD]
[TD]01.06.2019 0:15:36[/TD]
[TD]01.06.2019 0:44:27[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]01.06.2019 0:44:36[/TD]
[TD]01.06.2019 1:04:08[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]01.06.2019 1:07:41[/TD]
[TD]01.06.2019 1:08:44[/TD]
[/TR]
[TR]
[TD]Steve[/TD]
[TD]02.06.2019 0:55:30[/TD]
[TD]02.06.2019 1:28:06[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]02.06.2019 1:12:40[/TD]
[TD]02.06.2019 1:32:34[/TD]
[/TR]
[TR]
[TD]Mark[/TD]
[TD]02.06.2019 4:38:56[/TD]
[TD]02.06.2019 5:05:53[/TD]
[/TR]
</tbody>[/TABLE]


e.g. first and third row should have "1", because Mark was working on two different things for a while. Last row should be 0, Mark did no other operation at that time.

Thanks in advance for any help.

Josef
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,225,738
Messages
6,186,736
Members
453,369
Latest member
juliewar

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