如果匹配其他列的条件,则在范围内查找 MIN/MAX 日期 [英] Find MIN/MAX date in a range if it matches criteria of other columns

查看:14
本文介绍了如果匹配其他列的条件,则在范围内查找 MIN/MAX 日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

A 列是日期

B 列是条件

我想找到每个条件的 MIN 日期.我尝试使用 Ctrl+Shift+Enter

I want to find the MIN date for each criteria. I tried using Ctrl+Shift+Enter with

=MIN(MATCH(B2,B:B,0))

但这不太正确,因为我需要以某种方式引用列 A 来获取日期.我非常有信心这可以用数组来完成,所以任何帮助都会很棒.

but thats not quite right because I need to refer to Column A somehow to get the date. I'm pretty confident this can be done with arrays, so any help would be great.

推荐答案

试试这个(数组公式):

Try this (array formula):

=MIN(IF(B2=B:B,A:A))

这篇关于如果匹配其他列的条件,则在范围内查找 MIN/MAX 日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆