如何根据另一列中的特定值找到最低和最高日期?

How to find the lowest and highest date based on certain value in another column?

我有一个像这样的 excel table,其中包含名称和日期,如下所示。我想根据 Name on right side.The right table already contains the Name 找出最低和最高日期。我想根据 Name

获得他们的最低和最高日期

最后的结果应该是这样的

得到这个结果的公式应该是什么?

单元格E2 = =MINIFS($B:$B,$A:$A,D2)

单元格F2 = =MAXIFS($B:$B,$A:$A,D2)

在单元格 E2 中,向右复制到 F2 并全部向下复制:

=AGGREGATE(15-(COLUMN(A1)=2),6,$B:$B/($A:$A=$D2),1)