I am working on a project that has a sheet for each week in the year. Within each sheet is varying employee information. On the last "Total" sheet I need it to search for the ID listed in the A column in every worksheet, when found it needs to look at the L column of the same row add it together and put that sum in the total sheet. Below is the formula I have been using and it keep giving me a zero value but no error.
=SUMPRODUCT(SUMIF(INDIRECT("'"&Tab&"'!"&"L2:L300"),A2,INDIRECT("'"&Tab&"'!L2:L300")))
"Tab" is referencing the sheet index list I create for each other sheet with hyperlinks to their corresponding sheets. The sheets are on a weekly bases of 1.13.17:12.31.17
I have tried putting the sheet names in the formula and it errors out. Is there another formula I could be using. An example employee ID that would be listed in A2 is 6174. Do I need to put in the exact employee ID it is looking for rather than the location on the table where the ID is located?
=SUMPRODUCT(SUMIF(INDIRECT("'"&Tab&"'!"&"L2:L300"),A2,INDIRECT("'"&Tab&"'!L2:L300")))
"Tab" is referencing the sheet index list I create for each other sheet with hyperlinks to their corresponding sheets. The sheets are on a weekly bases of 1.13.17:12.31.17
I have tried putting the sheet names in the formula and it errors out. Is there another formula I could be using. An example employee ID that would be listed in A2 is 6174. Do I need to put in the exact employee ID it is looking for rather than the location on the table where the ID is located?