Deduplication based upon Date

mawilson12

New Member
Joined
Jan 17, 2008
Messages
35
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I have a log file converted to Excel regarding software - name of computer, version of software and last date connected are the fields I am primarily interested in, but there are other fields with interesting info (like who is the person that was logged in)

Over a 30 day period, a machine could connect with version 100, and then 29 days later connect with a new version, say 101.
What I typically do is a deduplication of computer name, but that doesn't necessarily leave me with the latest date.
How are deduplications handled? If I sort according to date, will it to the first one or the 2nd one?
Or is there another way of handling this?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How are deduplications handled? If I sort according to date, will it to the first one or the 2nd one?
If you use the inbuilt functionality to remove duplicates, it will keep the first instance it finds (starting from the first row) and delete any subsequent duplicates based on the column you specify.
 
Upvote 0
Or is there another way of handling this?
Kevin's information would mean you could sort by date (descending) & then Remove Duplicates.
Another possibility may be to leave the original data as is and use a formula like this to produce a separate list of the latest information for each name.

23 12 02.xlsm
ABCDEFGHIJK
1NameVersionDateOther 1Other 2NameVersionDateOther 1Other 2
2a11/11/202319b119/11/2023210
3b119/11/2023210d121/11/2023513
4a25/11/2023311a36/11/2023614
5c114/11/2023412c221/11/2023715
6d121/11/2023513
7a36/11/2023614
8c221/11/2023715
9c216/11/2023816
Latest
Cell Formulas
RangeFormula
G2:K5G2=FILTER(A2:E9,C2:C9=MAXIFS(C2:C9,A2:A9,A2:A9))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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