Good Morning All,
Taking gate data, I am trying to work out how long individuals spend on site (Preferably in a single go so happy to record multiple times on site for the same day/shift. Useful things to know:
- Over 10,000 gate movements a day (so person does not enter / leave site on the next row)
- May work a night shift or day shift and may flip between them
- Multiple different gates
- Person may exit site and not return for 20 days
- Person may enter and exit site multiple times in a day
My data format is shown as the following:
| Record ID | Name | Gate | Work Date | Work Site | IN/OUT | URN |
| 50 | Matt Smith | Alpha | 10/07/2022 | 21:35:01 | IN | 20548636 |
| Some time much later........ | ...... | | ..... | ..... | .... | ..... |
| 2500 | Matt Smith | Beta | 11/07/2022 | 05:35:26 | OUT | 20548636 |
How would you do this given information and useful things to know? I was hoping to achieve something similar to:
| Name | Gate In | Gate Out | Date/Time Stamp In | Date/Time Stamp Out | HH:MM | URN |
| Matt Smith | Alpha | Beta | 10/07/2022 21:35:01 | 11/07/2022 05:53:26 | 08:00 | 20548636 |
I was thinking that i could create time/date stamp, organize by this and then match via URN but its how to match to next timestamp for that URN that causing my brainache this morning
Thank you