[英]Excel formula or vlookup to pick latest date?
我正在使用 vlookup 并希望从下面列出的多个条目中选择最新日期,请告知是否有人可以在这方面提供帮助。
现在我想从相应的日期列中选择 ALi、Mubeen 和 Nadeem 的最新日期。 例如,我可以选择 Ali,这个的最晚日期是 20 年 12 月 5 日。
请指教。
我认为如果您只关心最小值,那么最好的方法是通过 pivot 表来完成。
将名称拖到 pivot 表中的列和日期到值。 现在将日期值转换为最小值。 这将把事情做好。
希望查询清楚。
您可以使用以下数组公式:
=MAX(IF($A$2:$A$10=D2,$B$2:$B$10))
按ctrl + shift + enter确认编辑后的数组公式
ctrl
shift
enter
您可以将所有日期放在隐藏列中并获取最小值,如下所示:
红细胞公式: =IFERROR(INDEX($B$3:$B$13, SMALL(IF(D$2=$A$3:$A$13, ROW($B$3:$B$13)-2,""), ROW()-2)),"")
=IFERROR(INDEX($B$3:$B$13, SMALL(IF(D$2=$A$3:$A$13, ROW($B$3:$B$13)-2,""), ROW()-2)),"")
蓝色单元格公式: =MIN(D3:D6)
=MIN(D3:D6)
您可以使用MAXIFS function,
=MAXIFS(B3:B6,A3:A6,C2)
[英]Excel - issue with VLOOKUP formula - it doesn't pick dates
[英]Excel Formula return the value beside the latest date
[英]Formula Excel Vlookup
[英]excel error with formula if and vlookup
[英]Excel Formula with VLOOKUP
[英]Excel Formula Vlookup with Criteria
[英]Excel Formula Help (VLOOKUP)
[英]Excel Vlookup Formula Troubleshooting
[英]Excel Vlookup Formula
[英]Excel Formula Vlookup issue
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.