How to make a reference to a cell of another sheet, when the sheet name is the value of a cell?

后端 未结 2 1812
夕颜
夕颜 2020-12-09 20:49

In excel 2007, I have a formula in a cell like the following:

=COUNTIFS(\'2008-10-31\'!$C:$C;\">=\"&\'$A7)

Now I want to make the na

2条回答
  •  孤街浪徒
    2020-12-09 21:29

    INDIRECT does what you want. Note that if the sheet name has any spaces, you need to put single quotes round it, ie

    =COUNTIFS(INDIRECT("'" & A1 & "'!$C:$C"); ">=" & $A7)
    

提交回复
热议问题