I have the following table and I'm trying to write a formula that will take the value of column C and put it into the COUNTIF function where the ?? is.
A B C
Data Label Data Range Name
---------- ---------- ----------
Label#1 =countif(data!??,A1) A1:B
Label#2 =countif(data!??,A2) C1:D
Label#3 =countif(data!??,A3) E1:F
I have hundreds of rows and dozens of columns and I'm trying to avoid manually update the target range for the COUNTIF.
I've tried =countif(data!&C1,A1)
and =countif(data!&"C1",A1)
and =countif(data!C1,A1)
, but none work.