A
A
Allarion2017-09-17 00:41:19
Google
Allarion, 2017-09-17 00:41:19

How to pass the name of the sheet from the cell to the formula in Google spreadsheets?

In the example in the screenshot, column A shows the names of the sheets, how can you substitute the name of the sheet from the cell, for example A8, into the formula, because options: =COUNTIFS(A8!D8:D;INDEX($1:$1;1;COLUMN()))
=COUNTIFS(A8&!D8:D;INDEX($1:$1;1;COLUMN()))
=COUNTIFS(A8& '!D8:D';INDEX($1:$1;1;COLUMN()))
=COUNTIFS(A8&"!D8:D";INDEX($1:$1;1;COLUMN()))
- don't work
cddfb234cdac46b682e2ae34c9db8467.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lvv85, 2017-10-11
@lvv85

Use the INDIRECT function

=COUNTIFS(INDIRECT(A8 & "!$D:$D");INDEX($1:$1;1;COLUMN()))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question