I need to add the value in cell A1 to a formula in cell B1 that references an external spreadsheet. Column A lists workdays of the month (i.e. 09-19-2014, 09-22-2014, 09-23-2014, etc.). Column B has the following formula which works as expected
by calculating headcount based on location and pay type.
=IFERROR(SUMPRODUCT(('C:\Shared\Labor\HC\[09-23-2014.xls]report'!$H$2:$H$500="Location - 12")*('C:\Shared\Labor\HC\[09-23-2014.xls]report'!$G$2:$G$500="Hourly")),NA())
What I need to accomplish is instead of specifically using 09-23-2014 I need it to pull the value from column A of that row. I have tried using evaluate, concatenate, and "& A1 &", but these methods do not pull in the needed value from the external spreadsheet.
There will be a number of spreadsheets thus eliminating the possibility of them being opened when this spreadsheet is opened. Does anyone have any ideas to add a cell value to the external reference formula?
=IFERROR(SUMPRODUCT(('C:\Shared\Labor\HC\[09-23-2014.xls]report'!$H$2:$H$500="Location - 12")*('C:\Shared\Labor\HC\[09-23-2014.xls]report'!$G$2:$G$500="Hourly")),NA())
What I need to accomplish is instead of specifically using 09-23-2014 I need it to pull the value from column A of that row. I have tried using evaluate, concatenate, and "& A1 &", but these methods do not pull in the needed value from the external spreadsheet.
There will be a number of spreadsheets thus eliminating the possibility of them being opened when this spreadsheet is opened. Does anyone have any ideas to add a cell value to the external reference formula?