怎样用单元格的值表示行号。谢谢!急!!!
=SUMPRODUCT((LEFT(Sheet1!$I$2:$I$715,FIND("‐",Sheet1!$I$2:$I$715)-1)=Sheet2!B5)*(1/COUNTIF(Sheet1!$H$2:$H$715,Sheet1!$H$2:$H$715)))把该公式中的“715”换成函数”COUNTA(Sheet1!$A:$A)“。715是用counta()计算的。
谢谢! intirect("Sheet1!$I$2:$I"&counta()) 谢谢!我是这样做的,但是出现错误 #VALUE。
=SUMPRODUCT((LEFT(INDIRECT("Sheet1!$I$2:$I$"&COUNTA(Sheet1!$B:$B)),FIND("‐",INDIRECT("Sheet1!$I$2:$I$"&COUNTA(Sheet1!$B:$B))-1)=Sheet2!B4)*(1/COUNTIF(INDIRECT("Sheet1!$H$2:$H$"&COUNTA(Sheet1!$B:$B)),INDIRECT("Sheet1!$H$2:$H$"&COUNTA(Sheet1!$B:$B)))))) 已解决。谢谢!
页:
[1]