Jessica553
New Member
- Joined
- Nov 21, 2021
- Messages
- 24
- Office Version
- 2010
- Platform
- Windows
Hi All. I am trying to create a spreadsheet which takes employee swipe times onto a site and gives how many hours they have worked. The format I have gotten it to gives me their name, date and entry on one row and then name date and exit on the second. But how can I combine these into a single row so that I can subtract the times and get hours worked in between?
IE in the below I want one row for Bob Smith for the 9th of October to show entry and exit times (Then I'll add a formula to subtract hours). Then the next row would be Bob Smith for the 4th of September, etc.
Thank you for any help! I am learning power query slowly as I go but wasn't having much luck on google!
IE in the below I want one row for Bob Smith for the 9th of October to show entry and exit times (Then I'll add a formula to subtract hours). Then the next row would be Bob Smith for the 4th of September, etc.
Thank you for any help! I am learning power query slowly as I go but wasn't having much luck on google!
Date | Time | Enter/Exit | Badge ID | Surname | First Name |
9/10/2023 | 7:01:55 AM | CUR-MOF-Turnstile 2-Entry | 12345 | Smith | Bob |
9/10/2023 | 4:10:15 PM | CUR-MOF-Turnstile 2-Exit | 12345 | Smith | Bob |
4/09/2023 | 7:04:48 AM | CUR-MOF-Turnstile 3-Entry | 12345 | Smith | Bob |
4/09/2023 | 4:09:53 PM | CUR-MOF-Turnstile 3-Exit | 12345 | Smith | Bob |
5/09/2023 | 7:04:31 AM | CUR-MOF-Turnstile 4-Entry | 12347 | Willis | Bruce |
5/09/2023 | 7:05:13 AM | CUR-MOF-Turnstile 4-Entry | 12347 | Willis | Bruce |
5/09/2023 | 2:57:14 PM | CUR-MOF-Turnstile 6-Exit | 12348 | Hanks | Tom |
5/09/2023 | 4:10:05 PM | CUR-MOF-Turnstile 3-Exit | 12348 | Hanks | Tom |
7/09/2023 | 7:04:25 AM | CUR-MOF-Turnstile 6-Entry | 12349 | Chaplin | Charlie |
7/09/2023 | 4:09:57 PM | CUR-MOF-Turnstile 4-Exit | 12349 | Chaplin | Charlie |