Need Formula that numerous visit cannot be made at the same time and date if on a visit already

Leicester City Fox

Board Regular
Joined
Oct 7, 2016
Messages
91
Office Version
  1. 2019
Platform
  1. Windows


Hi All
I have the date of visit and Visitor ID . I need a formula thathighlight if a visitor made a visit within the same time in other words they alsoclaimed to make a visit between Arrival time and Departure time on same date.
In other word I have visitors claiming they were on onevisit but also stating at the same time they were on another visit which is impossible.
Example sample data:
Date (A) Visitor ID (B) Arrival Time (C) Departure time (D)

A)20/08/2019 123 09:14 10:00

B)20/08/2019 012 13:24 13:55
C)20/08/2019 123 09:20 09:30 (Cannot be true row Ashows already on time visit and date)

D)20/08/2019 012 09:10 09:30


I just trying to highlight visitors make false claims that thereare on different visits on the same date when the times show they can’t bethere because there already on a visit. I would be grateful for any ideas but Ihave a big list of dates and different visitor ids to check.
Thank you for any help in this matter
The Leicester Fox

 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Try something like

=COUNTIFS(A:A,A2,B:B,B2,C:C,">="&C2,C:C,"<="&D2)

If I have my logic correct then this should give a count of 1 for all valid visits and a count of 2 or more for false claims while still allowing consecutive visits on the same day (i.e. if they leave, then return an hour later each visit will still show as 1).
 
Upvote 0
Hi Jasonb75,

Thank you very much you’re a star it works
&#55357;&#56842;



Many Thanks

Leicester Fox
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
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