Detect date/time collisions with multiple criteria

macfoo

New Member
Joined
Oct 19, 2015
Messages
11
I have data that I am trying to determine where date/time overlap (TRUE/FALSE) works but only when certain criteria are met.
The collision column is what I'd like to do via formula or macro...

I'm able to find collisions using SUMPRODUCT (found plenty of examples) until I start adding criteria, but that won't work since I need to find date/time collisions only when address and identifier are the same.


Example below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]#[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD]Address[/TD]
[TD]State[/TD]
[TD]Identifier[/TD]
[TD]Collion?[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]09/26/2018 09:00[/TD]
[TD]09/26/2018 12:00[/TD]
[TD]Boxwood[/TD]
[TD]TN[/TD]
[TD]7212[/TD]
[TD]NO[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]09/26/2018 09:00[/TD]
[TD]09/26/2018 12:00[/TD]
[TD]Norfolk[/TD]
[TD]VA[/TD]
[TD]9713[/TD]
[TD]YES[/TD]
[/TR]
[TR]
[TD]1265[/TD]
[TD]09/26/2018 10:00[/TD]
[TD]09/26/2018 16:00[/TD]
[TD]Norfolk [/TD]
[TD]VA[/TD]
[TD]9713[/TD]
[TD]YES[/TD]
[/TR]
[TR]
[TD]1265[/TD]
[TD]09/26/2018 10:00[/TD]
[TD]09/26/2018 16:00[/TD]
[TD]Somewhere[/TD]
[TD]MN[/TD]
[TD]1897[/TD]
[TD]YES[/TD]
[/TR]
[TR]
[TD]1279[/TD]
[TD]09/28/2018 02:00[/TD]
[TD]09/28/2018 14:00[/TD]
[TD]Smith[/TD]
[TD]TX[/TD]
[TD]7212[/TD]
[TD]NO[/TD]
[/TR]
[TR]
[TD]1298[/TD]
[TD]09/26/2018 04:00[/TD]
[TD]09/29/2018 02:00[/TD]
[TD]Sasquatch[/TD]
[TD]AK[/TD]
[TD]1897[/TD]
[TD]NO[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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