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

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

问题描述

列表A是日期



列B是条件


我想找到每个条件的 MIN 日期。我尝试使用 Ctrl + Shift + 输入

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

很正确,因为我需要参考列 A 以获取日期。我非常有信心可以使用数组,所以任何帮助都会很棒。

解决方案

尝试这个(数组公式) :

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


Column A is date

Column B is criteria

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

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

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天全站免登陆