My bad—not reading closely enough.
Current formula in B3:
IF(COUNTIF(INDIRECT("Week "&ROW()−2&"::Weekly Summary::$N$24:$N$39,C$1"),C$1)=0,"",COUNTIF(INDIRECT("Week "&ROW()−2&"::Weekly Summary::$N$24:$N$39,C$1"),C$1))
COUNTIF part:
COUNTIF(
INDIRECT("Week "&ROW()−2&"::Weekly Summary::$N$24:$N$39,C$1") --range
,C$1) --condition
C$1 is the cell containing the condition (value to be matched), and not part of the range of cells to be searched for a match.
INDIRECT builds the range from the parts that are inside the parentheses in the 'range' line above. The invalid reference error comes from including ',C$1' inside the parentheses (and inside the quotes), something I hadn't noticed on earlier readings.
Corrected formula for B3:
IF(COUNTIF(INDIRECT("Week "&ROW()−2&"::Weekly Summary::$N$24:$N$39"),C$1)=0,"",COUNTIF(INDIRECT("Week "&ROW()−2&"::Weekly Summary::$N$24:$N$39"),C$1))
Thanks for the screen shots and views of the formula both as text and in the formula editor. Needed all to track the formula and discover the error.
Another thing that will require attention is that you alternate the names of the city and the team in row 1 of the table on the win-loss landscape sheet, but use only the team names in the win and loss columns of the weekly summary tables.
The formulas in columns B and C will both need to reference C$1 for the condition of COUNTIF.
Regards,
Barry