I’m a little confused about what you are trying to accomplish but I’ll take a crack at it. I might try to combine the separate date and time values in virtual columns to simplify the calculation.
ifs(
or(expressions testing for empty values), "Values missing",
and(
[Event Start DateTime] >= [_THISROW].[Event Start DateTime],
[Event End DateTime] <= [_THISROW].[Event End DateTime]
),"Overlap",
TRUE,"No overlap")
Actually, though, I don’t think with will work because I can’t imagine what the distinction between the _THISROW values and the non-_THISROW values here.
I got this expression to work for the start and end dates conflicting, but not the times. I also don’t think a count is the best means of finding the solution.
[Event End Date] = [_THISROW].[Event End Date],
OR(
AND(
[Event Start Time] < [_THISROW].[Event End Time],
[Event End Time] <= [_THISROW].[Event End Time]
),
AND(
[_THISROW].[Event Start Time] < [Event End Time],
[_THISROW].[Event End Time] <= [Event End Time]
),
AND(
I figured it out, combined the rows as a CONCATENATE and ran this formula.
IF(
OR(
ISBLANK([Event Start Date and Time]),
ISBLANK([Event End Date and Time])
),
“Invalid Submission”,
IF(
ISNOTBLANK(
FILTER(
“Form Responses 1”,
AND(
[Event Start Date and Time] < [_THISROW].[Event End Date and Time],
[Event End Date and Time] > [_THISROW].[Event Start Date and Time],
[Timestamp] <> [_THISROW].[Timestamp]
)
)
),
“Conflict”,
“No Conflict”
)
)