I have a workbook that is running a SUMPRODUCT on another workbook.
Here is the formula:
=SUMPRODUCT(--('U:\My Documents\[workbook1.xls]sheet1'!$C$3:$C$12=$A2),--('U:\My Documents\[workbook1.xls]sheet1'!H$3:H$12="no"))
This formula works great.
But I would like the sheet name to, instead of being hardcoded as "sheet1" draw from cell A1 to get the name of the sheet to be used.
I have tried this and it gives an immediate error:
=SUMPRODUCT(--('U:\My Documents\[workbook1.xls]&A1'!$C$3:$C$12=$A2),--('U:\My Documents\[workbook1.xls]&A1'!H$3:H$12="no"))
Bookmarks