How to pull 1st driving per employee

sannel23

New Member
Joined
Jan 13, 2022
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm trying to figure out how I can pull just the 1st driving occurrence for roughly 120 drivers? Or delete every other occurrence besides the first driving event? Whichever is easiest. We need this information so we can determine how long it takes our drivers to log in, pre trip their equipment and start driving.

Thank You

DriverNameEvtTimeEvtEvent
ALCALA, OSVALDO
3:58:11
Driving
ALCALA, OSVALDO
4:48:43​
Driving
ALCALA, OSVALDO
5:19:11​
Driving
ALCALA, OSVALDO
5:26:09​
Driving
ALCALA, OSVALDO
5:46:41​
Driving
ALCALA, OSVALDO
5:58:04​
Driving
ALCALA, OSVALDO
7:18:46​
Driving
ALCALA, OSVALDO
7:35:29​
Driving
Allen, Shawn
3:08:17
Driving
Allen, Shawn
3:12:06​
Driving
Allen, Shawn
3:13:08​
Driving
Allen, Shawn
4:25:10​
Driving
Alvarez, Martin
2:01:21
Driving
Alvarez, Martin
2:35:09​
Driving
Alvarez, Martin
3:15:10​
Driving
Arriaga, Herminio
6:12:11
Driving
Arriaga, Herminio
6:49:30​
Driving
Arriaga, Herminio
7:22:44​
Driving
Arriaga, Herminio
7:40:20​
Driving
Arriaga, Herminio
8:25:55​
Driving
Arriaga, Herminio
8:36:36​
Driving
Arriaga, Herminio
9:13:04​
Driving
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi, might this work for you ?

Excel Formula:
=LET(n,UNIQUE(A2:A23),t,XLOOKUP(n,A2:A23,B2:C23,"empty"),n&" "&t)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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