[英]How to use sheet name in formula
Would like to use a cell content within the following formula: 想要在以下公式中使用单元格内容:
=ARRAYFORMULA(SUMIF('W35'!$H:$H,A21,'W35'!$I:$I))
Where W35 is the sheet name. 其中W35是工作表名称。
I would like to set a cell value to be W35 and use it within the above formula. 我想将单元格值设置为W35,并在上面的公式中使用它。
您将需要这样做:
=ARRAYFORMULA(SUMIF(INDIRECT(W35&"!H:H"), A21, INDIRECT(W35&"!I:I")))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.