这是定位组号,用公式得下拉1.3万行。表运行太慢。去重,去有空格不足六位数的组合和前位的号比后位的大的。第三注是05 09 16 18 28 27,第五位比第六位大。所以过滤掉了。
组号公式=IF(G1*1>$AE$5*1,"",INDIRECT("A"&INT(MOD(ROW(A1)-1,$AE$5)/$AF$5)+1)&INDIRECT("B"&INT(MOD(ROW(A1)-1,$AF$5)/($AG$5))+1)&INDIRECT("C"&INT(MOD(ROW(A1)-1,$AG$5)/($AH$5))+1)&INDIRECT("D"&INT(MOD(ROW(A1)-1,$AH$5)/($AI$5))+1)&INDIRECT("E"&INT(MOD(ROW(A1)-1,$AI$5)/($AJ$5))+1)&INDIRECT("F"&MOD(ROW(A1)-1,$AJ$5)+1))
去重和不足六码公式
=IF($AD$3=0,IF(H1="","",IF(OR(I1>=J1,J1>=K1,K1>=L1,L1>=M1,M1>=N1),"",H1)),IF(H1="","",IF(OR(I1>=J1,J1>=K1,K1>=L1,L1>=M1,M1>=N1,Q1<>$AD$3*1),"",H1)))
还有重新排序公式
=IF(T1="","",VLOOKUP(T1,G:H,2)) |