INDIRECT("'"&sheet&"'!"&name)
example
=countif(indirect(D$1&"!$A:$A"),$A2)
=countif(MUSCATEL!$A:$A,$A2)
REFERENCE SHEET NAME FROM CELL.VALUE
Keep document that easy to find
INDIRECT("'"&sheet&"'!"&name)
example
=countif(indirect(D$1&"!$A:$A"),$A2)
=countif(MUSCATEL!$A:$A,$A2)
REFERENCE SHEET NAME FROM CELL.VALUE