Remove oldest date in triplicates

rosafranco2020

New Member
Joined
Oct 9, 2020
Messages
12
Office Version
  1. 365
Platform
  1. Windows
I need help with an excel spreadsheet where I have triplicates (same SSN) that has 3 dates. I need the newest and the second to the newest (to/from) dates only and eliminate the oldest (to/from) date from the spreadsheet. Help!!
 

Attachments

  • B6876EB6-F085-4505-8B7A-4E3B7D58FA81.jpeg
    B6876EB6-F085-4505-8B7A-4E3B7D58FA81.jpeg
    148.3 KB · Views: 5

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
This seems to work?
Book1
ABCDEFGH
1SSNFromEndSSNFromEnd
21233445671/02/201931/08/20201233445676/01/20161/01/2019
31233445676/01/20161/01/20191233445671/02/201931/08/2020
41233445679/01/202021/12/2039
Sheet1
Cell Formulas
RangeFormula
F2:H4F2=IFERROR(INDEX(A2:C4,ROW(A2:A4)*(RANK.EQ(C2:C4,C2:C4,1)>1),{1,2,3}),"")
Dynamic array formulas.
 
Upvote 0
You are welcome. I'm not, but thanks for the kind feedback.
 
Upvote 0

Forum statistics

Threads
1,214,589
Messages
6,120,416
Members
448,960
Latest member
AKSMITH

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