[英](Excel - advanced) How to pull unique values from list using range of criteria (array formula)
{=IFERROR(INDEX('Quarterly Changes Summary'!$F$3:$F$1428, MATCH(1, INDEX(('Quarterly Changes Summary'!$A$3:$A$1428=$B$5) * MATCH(0, COUNTIF($E$4:$E7, 'Quarterly Changes Summary'!$F$3:$F$1428), 0),), 0),), "")}
This formula is in cell E8 , with E4:E7 having the same formula. 该公式在单元格E8中 ,其中E4:E7具有相同的公式。 I'm trying to pull unique values from the Quarterly Changes Summary
worksheet. 我正在尝试从“ Quarterly Changes Summary
工作表中提取唯一值。 I need it to pull values with the criteria of B5 and if they are values distinct from E4:E7 . 我需要它使用B5的标准提取值,如果它们是不同于E4:E7的值。
However, ('Quarterly Changes Summary'!$A$3:$A$1428=$B$5)
is giving me an array and MATCH(0,COUNTIF($E$4:$E7,'Quarterly Changes Summary'!$F$3:$F$1428),0)
is giving me a value of 1 , and not an array. 但是, ('Quarterly Changes Summary'!$A$3:$A$1428=$B$5)
给了我一个数组和MATCH(0,COUNTIF($E$4:$E7,'Quarterly Changes Summary'!$F$3:$F$1428),0)
给我一个值1 ,而不是数组。
How do I reformat the match formula so that it gives me an array, and thus an array of what fits my criteria of B5 and values distinct from E4:E7 . 如何重新格式化匹配公式,以便为它提供一个数组,从而得到一个符合我的B5标准和不同于E4:E7的值的数组。
Let me know if further clarification is needed. 让我知道是否需要进一步澄清。
I found a solution through some revisions. 我通过一些修订找到了解决方案。 I took out the match(1) index reference and replaced it with MATCH(0,COUNTIF($E$4:$E5,'Quarterly Changes Summary'!$F$3:$F$1428)+('Quarterly Changes Summary'!$A$3:$A$1428<>$B$5),0). 我取出了match(1)索引引用并用MATCH(0,COUNTIF($ E $ 4:$ E5,'Quarterly Changes Summary'!$ F $ 3:$ F $ 1428)+('Quarterly Changes Summary'!$ A $ 3:$ A $ 1428 <> $ B $ 5),0)。 I was able to select my criteria and add the arrays by adding the ('Quarterly Changes Summary'!$A$3:$A$1428<>$B$5) within the countif. 我能够选择我的条件,并通过在countif中添加('Quarterly Changes Summary'!$ A $ 3:$ A $ 1428 <> $ B $ 5)来添加数组。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.