Hello All,
I routinely use a sumifs formula with a nested Xlookup to return the column of values I want to sum up: =SUMIFS(XLOOKUP(J$8,'Sheet1'!$C$7:$AN$7,'Sheet1'!$C$8:$AN$220,,0),'Sheet1'!$A$8:$A$220,'Lookup'!$I11)
The formula above works fine. However, when I try to nest the Indirect function to perform the same calculation across multiple worksheets, I get an N/A error (Sheets is a named range of tab names): =SUMIFS(XLOOKUP(J$8,INDIRECT("'"&Sheets&"'!"&"C7:AN7"),INDIRECT("'"&Sheets&"'!"&"C8:AN220"),,0),INDIRECT("'"&Sheets&"'!"&"A8:A220"),'Lookup'!$I29)
When I add the indirect formula to a more basic Sumifs (without the xlookup) formula, it always works. But for some reason I cannot get the Indirect formula to add up the first calculation above across worksheets. Is there something that would prevent the Indirect function from working across sheets with a 3D lookup formula?
I routinely use a sumifs formula with a nested Xlookup to return the column of values I want to sum up: =SUMIFS(XLOOKUP(J$8,'Sheet1'!$C$7:$AN$7,'Sheet1'!$C$8:$AN$220,,0),'Sheet1'!$A$8:$A$220,'Lookup'!$I11)
The formula above works fine. However, when I try to nest the Indirect function to perform the same calculation across multiple worksheets, I get an N/A error (Sheets is a named range of tab names): =SUMIFS(XLOOKUP(J$8,INDIRECT("'"&Sheets&"'!"&"C7:AN7"),INDIRECT("'"&Sheets&"'!"&"C8:AN220"),,0),INDIRECT("'"&Sheets&"'!"&"A8:A220"),'Lookup'!$I29)
When I add the indirect formula to a more basic Sumifs (without the xlookup) formula, it always works. But for some reason I cannot get the Indirect formula to add up the first calculation above across worksheets. Is there something that would prevent the Indirect function from working across sheets with a 3D lookup formula?