简体   繁体   English

具有标准的独特功能的大型功能

[英]Large function for unique values with criteria

So need to find the largest number in a range with a criteria, and i have this formula: 所以需要找到一个范围内具有标准的最大数字,我有这个公式:

{=LARGE(IF(range=criteria,values),n)}

but i need it to only bring through unique values! 但我需要它只能带来独特的价值!

Any input would be much appreciated!! 任何输入将不胜感激!

Many thanks! 非常感谢!

The newer AGGREGATE function can be used to replace the LARGE function . 较新的AGGREGATE函数可以用来代替LARGE函数

With your column A as the first criteria range and column B as the second, retrieve the largest number in column C. 将A列作为第一个条件范围,将B列作为第二个条件范围,检索C列中最大的数字。

=aggregate(14, 6, (C2:C9)/((A2:A9=E4)*(B2:B9=F4)), 1)

gregate_two_col

Cheers! 干杯!

I am not sure I understand the issue; 我不确定我是否理解这个问题; you want to find the largest value from array of numbers which fulfill your criteria? 您想从满足您条件的数字数组中找到最大值? It seems the formula you wrote will work fine; 您编写的公式似乎可以正常工作; the array IF will return array of numbers which satisfy your criteria, and LARGE(range, 1) will find the biggest value out of those available. 数组IF将返回满足您条件的数字数组,而LAR​​GE(range,1)将从可用数中找到最大的值。

I tested it and it works for me. 我测试了它,对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM