Auto-fill formula that references numerical worksheet names

浪尽此生 提交于 2019-12-12 06:05:34

问题


I need to auto-fill this formula in a column in a spreadsheet:

=COUNTIFS('1'!$D$3:$D$101,FALSE,'1'!$I$3:$I$101,"Name") 

'1' being a sheet name in both criteria range. I have up to 31 sheet names (representing each day of the month).


回答1:


Try,

=COUNTIFS(INDIRECT("'"&ROW(1:1)&"'!D3:D101"), FALSE, INDIRECT("'"&ROW(1:1)&"'!I3:I101"), "Name")

Fill down as necessary. The $ are no longer necessary since the cell range references are text and will not change.



来源:https://stackoverflow.com/questions/34432128/auto-fill-formula-that-references-numerical-worksheet-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!