Stumped!

Garetht2014

New Member
Joined
Oct 21, 2014
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Evening all,

I have a large data set that I need to remove bits from but keep some specific data. Below is a small sample of the data (main data is 7724line). What I am trying to do is take out all the data between the first entry and the last entry for that day (all text in bold). I onty need to see the first and last entry for every day.

The data set is from our vehicle trackers so there will be mulitple entries for each driver (spreadsheet consists of 153 drivers).

Does anyone know a way this can be done ?



RegistrationStart TimeEnd TimeStart LocationEnd Location
Joe Bloggs
01/07/2022 07:59​
01/07/2022 08:30​
AddressAddress
Joe Bloggs
01/07/2022 08:37
01/07/2022 08:40
AddressAddress
Joe Bloggs
01/07/2022 09:01
01/07/2022 09:03
AddressAddress
Joe Bloggs
01/07/2022 09:41
01/07/2022 09:46
AddressAddress
Joe Bloggs
01/07/2022 09:57
01/07/2022 10:02
AddressAddress
Joe Bloggs
01/07/2022 10:08
01/07/2022 10:12
AddressAddress
Joe Bloggs
01/07/2022 10:16
01/07/2022 10:37
AddressAddress
Joe Bloggs
01/07/2022 10:40
01/07/2022 10:45
AddressAddress
Joe Bloggs
01/07/2022 10:53
01/07/2022 10:59
AddressAddress
Joe Bloggs
01/07/2022 11:28
01/07/2022 12:17
AddressAddress
Joe Bloggs
01/07/2022 12:17
01/07/2022 12:19
AddressAddress
Joe Bloggs
01/07/2022 12:29
01/07/2022 12:40
AddressAddress
Joe Bloggs
01/07/2022 13:15
01/07/2022 13:18
AddressAddress
Joe Bloggs
01/07/2022 13:28
01/07/2022 13:46
AddressAddress
Joe Bloggs
01/07/2022 13:56
01/07/2022 14:06
AddressAddress
Joe Bloggs
01/07/2022 14:25
01/07/2022 14:27
AddressAddress
Joe Bloggs
01/07/2022 14:30
01/07/2022 14:33
AddressAddress
Joe Bloggs
01/07/2022 14:36
01/07/2022 14:53
AddressAddress
Joe Bloggs
01/07/2022 16:23
01/07/2022 16:37
AddressAddress
Joe Bloggs
01/07/2022 18:27
01/07/2022 18:31
AddressAddress
Joe Bloggs
01/07/2022 18:32​
01/07/2022 18:40​
AddressAddress
Joe Bloggs
02/07/2022 11:29​
02/07/2022 11:39​
AddressAddress
Joe Bloggs 1
02/07/2022 11:42
02/07/2022 11:48
AddressAddress
Joe Bloggs 1
02/07/2022 11:57
02/07/2022 12:04
AddressAddress
Joe Bloggs 1
02/07/2022 12:05
02/07/2022 12:13
AddressAddress
Joe Bloggs 1
02/07/2022 12:25​
02/07/2022 12:33​
AddressAddress
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
You can do this by using two extra columns.
Assuming the list of date with times is in Column B
Put this in the first spare column:
Excel Formula:
=DATE(YEAR(B2),MONTH(B2),DAY(B2))
This gets rid of the times then
Then assuming the above equation was in column E
Put this is in the next spare column:
Excel Formula:
=OR(E2<>E1,E2<>E3)
You can then filter of TRUE in that column
Both equations written for row 2, then copy down
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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