Well, that won't work because INDIRECT
takes only one parameter. Try this instead:
=SUM(INDIRECT("'"&A54&"'!C:C"))
The &
concatenates the value of A54 with that of !C:C
, which, for the first worksheet is: Worksheet1!C:C
which is the syntax for referencing from other sheets. :)
EDIT: I added single quotes because if you have, for example a worksheet name with a space (e.g. Worksheet 1
, the function will give you an error). The single quote will regroup the whole worksheet name together and prevents excel from getting confused.