Need Latest dates from Column basis on a condition

sg2209

Board Regular
Joined
Oct 27, 2017
Messages
117
Office Version
  1. 2016
Good Morning Mentors,
Though i have learnt much from the questions I have posted on the foprums and I also see the questions from other users also that is helping me to leanr and grow, i got stuck on one of the issue where I am looking for the latest date with specific condition.
I have below data set ( obviuosly dummy as it's too large ) where for ID IMEA it has 2 transactions one is from 2016 and another is 2023 hence i need date which is 12/6/2023 should copied to column S in corresponding row where I have ID IMEAN not in another row which is blank

Atatched is the format in last column resulsts I am expecting
 

Attachments

  • Capture.PNG
    Capture.PNG
    54.1 KB · Views: 22

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I think I follow what you want, you could try this;
( It is based on those cells being blank in column "A" where there is no number. )
( it is also based on 100,000 row, change if you need to. )( If you do change the last row reference throughout the formula, notice that the last part is referencing column "K". )

=IFERROR(IF(A1="","",LARGE(OFFSET(A1,0,10,MATCH(INDEX($A2:$A$100000,MATCH(TRUE,INDEX($A2:$A$100000<>"",0,1),0)),$A2:$A$100000,0),1),1)),LARGE($K2:$K$100000,1))

[ paste it into cell " S1 " and copy it on down ]
 
Upvote 0
Sorry for the late response got stuck with some family emergency.
not its not the expected result.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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