nbendotron
New Member
- Joined
- Oct 11, 2012
- Messages
- 8
Hey guys,
First time post, but I have read a few posts and it looks like this board is incredibly helpful. I am trying to create a formula that will pull the most recent date given a specific ID. The snag is that there are several dates associated with each ID. I have built a formula that identifies which ID's have multiple dates, and for the ID's with a single date it pulls that specific date. I am stuck because I do not know how to plug in a formula that will pull the most recent date for the ID's that have multiple dates. The formula is below..
=IFERROR(IF($B5="","",IF(COUNTIFS('data.Details of Settlements'!$A$12:$A$1048576,$A5,'data.Details of Settlements'!$AK$12:$AK$1048576,">0.5")>1,"00000",IF(VLOOKUP($A5,'data.Details of Settlements'!$A$12:$AK$1048576,37,FALSE)>0.5,VLOOKUP($A5,'data.Details of Settlements'!$A$12:$AK$1048576,37,FALSE),""))),"")
The "00000" entry is just a placeholder for where this max date function should go. Any help is greatly appreciated!!
First time post, but I have read a few posts and it looks like this board is incredibly helpful. I am trying to create a formula that will pull the most recent date given a specific ID. The snag is that there are several dates associated with each ID. I have built a formula that identifies which ID's have multiple dates, and for the ID's with a single date it pulls that specific date. I am stuck because I do not know how to plug in a formula that will pull the most recent date for the ID's that have multiple dates. The formula is below..
=IFERROR(IF($B5="","",IF(COUNTIFS('data.Details of Settlements'!$A$12:$A$1048576,$A5,'data.Details of Settlements'!$AK$12:$AK$1048576,">0.5")>1,"00000",IF(VLOOKUP($A5,'data.Details of Settlements'!$A$12:$AK$1048576,37,FALSE)>0.5,VLOOKUP($A5,'data.Details of Settlements'!$A$12:$AK$1048576,37,FALSE),""))),"")
The "00000" entry is just a placeholder for where this max date function should go. Any help is greatly appreciated!!