• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Index returning value based on latest date

Hello,

Please refer to the attached file for reference.

Using the Index(match I can get the first date by matching part# in column A to the one on the "Count History" tab to populate C Column, but in cases where the part appears more than once I need the most recent date to appear in the highlighted column.

Column D is the number of appearances each part appears in Column A of the "Count History" tab
 

Attachments

Hello,

Please refer to the attached file for reference.

Using the Index(match I can get the first date by matching part# in column A to the one on the "Count History" tab to populate C Column, but in cases where the part appears more than once I need the most recent date to appear in the highlighted column.

Column D is the number of appearances each part appears in Column A of the "Count History" tab
 

Attachments

Hi

On C2:
Array Formula (needs to be confirmed with Ctrl+Shift+Enter)
=MAX(('Count History'!$A$2:$A$175=A2)*'Count History'!$B$2:$B$175)

Non-array
=SUMPRODUCT(MAX(('Count History'!$A$2:$A$175=A2)*'Count History'!$B$2:$B$175),1)

Regards
 
Back
Top