想找出多个数值为0的数对应的值
各位大佬:我想要在一组库存中找到最小的3个数据及对应的值,我使用SMALL语句和vlookup,但遇到重复为0的都指向同一个数据,求教如何实现啊?
万金油公式了解一下。具体请压缩档案上传附件! c2=sort(a2:b10,1,1) =IFERROR(INDEX(B:B,SMALL(IF($A$1:$A$10=0,ROW($A$1:$A$10),""),ROW(A1))),""),搭配三建
=FILTER($B$2:$B$10,$A$2:$A$10=0,""),搭配三建
=IFERROR("A"&SMALL(IF($A$2:$A$10,,ROW($2:$10)),ROW(A1))-1,""),,搭配三建 =IFERROR(INDEX($B$2:$B$10,SMALL(IF(MIN($A$2:$A$10)=$A$2:$A$10,ROW($1:$9),),ROW(A1))),"") 三键结束下拉 =INDEX($B$2:$B$16,RIGHT(SMALL($A$2:$A$16+((ROW($A$2:$A$16)-1)%%%),ROW(A1)),5))
数组公式 一般用 C2{=INDEX(B:B,SMALL(IF(A$2:A$9=0,ROW($2:$9),99),ROW(A1)))&""
一定用VLOOKUPC2{=IFERROR(VLOOKUP(ROW(A1),IF({1,0},COUNTIF(OFFSET(A$2,,,ROW($1:$8)),0),B$2:B$9),2,),"")
页:
[1]