Hi
I'm trying to use countif to count if cell C3 in Sheet 6 is equal to cell C2
=COUNTIF(Sheet6!C3,C2)
But I want to replace 'Sheet6!' with a cell reference so that whatever is in that cell will direct the queery to that tab, e.g.
=COUNTIF('A1'!C3,C2)
So if cell A1=Sheet6 it will use Sheet6 C3 as the range, but if I change A1 to Sheet7 it will use sheet 7 C3. I can't seem to get the syntax correct.
I hope I've explained that correctly
Bookmarks