'How to check time clashing on basis of date and name in google sheet

I am trying to figure out time clash of a person with the help of date and person name

Reference

i have tried sumproduct formula but no solution.

Note:

  1. Start time should not be same as start time.
  2. Start time should not be same as End Time.
  3. End time should not conflict with start time.

Refer This Sheet

https://docs.google.com/spreadsheets/d/1eM6UYy5Usjxadpi6PnY8pwmBo_Yd60260zqwqB3h9ds/edit?usp=sharing



Solution 1:[1]

Please Note: This only works for the 1st clash, and shows no clash for the 2nd appointment.


K2:

=IF(A2 = A3, "1", "0")

L2:

=IF(B2 = B3, "1", "0")

M2:

=IF(K2+L2+O2=3,1,0)

N2:

=IF(M2 = 1, "Yes", "No")

O2:

=IF(ISTEXT(B2)=TRUE,1,0)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1