A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
While I'm sure that you are working with a set of worksheets (internal and/or external) that are actually open in the current workspace, it may be informative to others reading this thread to note that using INDIRECT() to concatenate external references cannot be used to reference closed workbooks.
From the INDIRECT function's Office.com reference page:
- If ref_text refers to another workbook (an external reference), the other workbook must be open. If the source workbook is not open, INDIRECT returns the #REF! error value.
| Hyperlink | Description |
|---|---|
| SUMIF function | Adds the cells specified by a given criteria |
| SUMIFS function | Adds the cells in a range that meet multiple criteria |
| INDIRECT function | Returns a reference indicated by a text value |
FWIW, your formula (see below) works fine for me.
=SUMIF(INDIRECT("'"& $C$7 & "'!$A$3:$A$100"),A9,INDIRECT("'"& $C$7 & "'!$C$3:$C$100"))