简体   繁体   中英

Using cell text as file reference in nested sum if array formula in excel

In excel, I'm using a nested sum if array formula:

=SUM(IF(('Filename'!$B$3:$B$25000=$C$1)*('Filename'!$C$3:$C$25000=$F$1)=1,'Filename'!$X$3:$X$25000,0))

Now I am using above sum if to extract data from multiple csv files which have similar structure only their name differs. Instead of writing the full file name for each formula I want to refer to filename by cell's text which has filename.

INDIRECT wont work if the referred file is closed.

What options do I have?

如果来自封闭工作簿,则需要查看诸如Harlan Grove的pull Function或Laurent Longre的MOREFUNC.XLL之类的内容,并添加INDIRECT.EXT以允许使用封闭的工作簿。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM