|
楼主 |
发表于 2010-5-13 17:38
|
显示全部楼层
OK!非常不錯的.
小弟不才,本想在你的基础上修改一下,建立"summary B",可以做到按"线别"进行自动生成.
发现失败.请给予修正.
如: A5==INDEX('MES-20100510'!D:D,SMALL(IF((MATCH(IF(('MES-20100510'!$T$2:$T$1000>=$B$2)*('MES-20100510'!$T$2:$T$1000<=$E$2),'MES-20100510'!$C$2:$C$1000),IF(('MES-20100510'!$T$2:$T$1000>=$B$2)*('MES-20100510'!$T$2:$T$1000<=$E$2),'MES-20100510'!$D$2:$D$1000),)=ROW($2:$1000)-1)*(IF(('MES-20100510'!$T$2:$T$1000>=$B$2)*('MES-20100510'!$T$2:$T$1000<=$E$2),'MES-20100510'!$D$2:$D$1000)<>FALSE)*('MES-20100510'!$D$2:$D$1000<>""),ROW($2:$1000),4^8),ROW(A1)))&"" |
|