如何用函数把满足条件的数据提取出来 20
示意图如下:
在A17中输入公式:=IF(AND(COUNTIF(INDIRECT(CHAR(65+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&"4:"&CHAR(67+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&5),$AB6)>0,OR(AND(INDIRECT(CHAR(65+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))>0,INDIRECT(CHAR(66+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))=0,INDIRECT(CHAR(67+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))=0),AND(INDIRECT(CHAR(66+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))>0,INDIRECT(CHAR(65+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))=0,INDIRECT(CHAR(67+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))=0),AND(INDIRECT(CHAR(67+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))>0,INDIRECT(CHAR(65+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))=0,INDIRECT(CHAR(66+INT((COLUMN(A1)-1)/3)+2*INT((COLUMN(A1)-1)/3))&ROW(A6))=0))),A6,"") ,公式右拉,之后下拉,即可。