I want to find the latest date in Excel for a particular item from the list of thousand of items

前端 未结 2 1389
清酒与你
清酒与你 2021-01-29 11:15

\"enter

So in the above example for the first item I want the latest date to be 17th July

相关标签:
2条回答
  • 2021-01-29 11:38

    With Office 365 use MAXIFS:

    =MAXIFS(B:B,A:A,A2)
    

    With Older USE AGGREGATE:

    =AGGREGATE(14,6,$B$2:$B$20/($A$2:$A$20=A2),1)
    
    0 讨论(0)
  • 2021-01-29 11:42

    For pre-xl2010 use a psuedo-MAXIFS.

    =MAX(INDEX($B$2:$B$20+($A$2:$A$20<>A2)*-1e99, , ))
    
    0 讨论(0)
提交回复
热议问题